Jump to content
  • Advertisement

Archived

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

guitarman

vertex/list problem

This topic is 5859 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
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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!