Results 1 to 2 of 2

Thread: Conflict between Polygon and Quadric drawings?

  1. #1
    Bob Hoeft
    Guest

    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

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2000
    Posts
    569

    Re: Conflict between Polygon and Quadric drawings?

    try changing your polygonMode to GL_FRONT

Similar Threads

  1. Transform a quadric in another one
    By Greencoco in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-05-2017, 05:12 PM
  2. Triangle drawings
    By pegasus09 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-19-2009, 11:11 PM
  3. quadric problem
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-25-2004, 11:53 AM
  4. Vertices from quadric
    By lbrtuk in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-07-2003, 04:53 AM
  5. getting quadric verts
    By eckiller in forum OpenGL: Advanced Coding
    Replies: 8
    Last Post: 05-22-2000, 12:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean