• Advertisement

Archived

This topic is now archived and is closed to further replies.

vertex/list problem

This topic is 5740 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a DXF model loader I am working on, and I''ve come across a problem. I have a class CDXFModel, it has a _verticies private member, which is a templated linked list. When I run this thru the console and loop thru the verticies to print them, it works fine. But, when I run it inside of glBegin(...) and glEnd() blocks, I get nothing. If I use GL_POINTS, I get a single point on the screen, but nothing with anything else. Any help would be appreciated.

Share this post


Link to post
Share on other sites
Advertisement
Take atention to the camera orientation, by default she is placed at 0,0,0 look at the positive end of the Z axis.

Share this post


Link to post
Share on other sites
That''s not the problem, I can see the model using GL_POINTS, but only one point!

Share this post


Link to post
Share on other sites
I went thru the Draw() loop, and it called every one of mo coordinates right. I think I''ve encountered this problem before. Might it have something to do with the fact that I am using a pointer to the vertex list?

Share this post


Link to post
Share on other sites

  • Advertisement