Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Conflict between Polygon and Quadric drawings?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000

    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?


  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Feb 2000

    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