#3 Model Import Problem

open
nobody
None
5
2004-11-11
2004-11-11
gaboh20
No

Hi! Hope you’re having a good time.

I’m sorry to bother you with such nonsense
(as you may see this) but I’ve got some big trouble
that I’m unable to solve by myself. I’ve already tried
to solve it trough friends, professors, programmers,
mailing lists and almost any way I thought of. However,
I’a afraid I came out with the necessity to ask you for
help.

I’m using the ObjReader you wrote, along
with the ObjModel. In ObjModel there is an DisplayList
called obj which contains the list generated by CsGL.
This obj object contains an attribute called Base,
which is used lately in the Init method as parameter in
GL.glNewList. However, obj.Base (which is a uint)
generates an exception. I guess it’s improperly
initiated when the obj object is constructed. However,
it is inaccessible. The question is: How can I correct
this error? I’d love to get the source code of a simple
functional program which uses these .cs classes, since
I’ve been unable to find any example on how to use
them. Hope you can help me, since this is beginning to
get on my nerves. Thanks a lot.

Greetings,

Gabriel Hernandez.

Discussion

  • gaboh20
    gaboh20
    2004-11-11

    Exception error screenshot

     
    Attachments