-
Conflict between Polygon and Quadric drawings?
Does OpenGL prohibit the use of PolygonMode and Quadric shapes at the same time?
I had several shapes working in my scene, which I derived from triangle strips. I then went to add a quadric cylinder (using gluCylinder, after gluNewQuadric). To my surprise, my PC would halt at the first OpenGL call I made after gluCylinder.
After much trial and error, I found that it no longer locked up if I commented out the earlier polygons. The glPolygonMode(GL_BACK, GL_LINE) line, in particular seemed to be the source of my troubles.
Has anyone else seen this? Is there a way that polygons and quadrics can "get along" in the same scene?
Thanks,
Bob
-
Advanced Member
Frequent Contributor
Re: Conflict between Polygon and Quadric drawings?
try changing your polygonMode to GL_FRONT
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules