vertex/list problem

Started by
2 comments, last by guitarman 21 years, 10 months ago
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.
[source]#define Jesus 1[/source]
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.
"Follow the white rabbit."
That''s not the problem, I can see the model using GL_POINTS, but only one point!
[source]#define Jesus 1[/source]
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?
[source]#define Jesus 1[/source]

This topic is closed to new replies.

Advertisement