Archived

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

guitarman

vertex/list problem

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
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