Results 1 to 2 of 2

Thread: 8 sided solid

  1. #1
    Junior Member Newbie
    Join Date
    May 2003

    8 sided solid

    I'm trying to draw a 8 sided 3D polygon.
    Is there an order to drawing the faces???
    like I have to draw the top followed by the right face etc etc???

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001

    Re: 8 sided solid

    Hi !

    Do you mean that you want to draw an 8 sided object (with 8 polygons) or one 8 sided polygon ?

    By default you draw polygons counter clockwise, but you can change that if you want to, if you mean that you have to draw the polygons in a specific order, then the answer is no, you can draw them in any order you want.

    If you use glBegin( GL_POLYGON) then this only works with convex polygons. For non convex polygons you have to use the glu tesselator.


Similar Threads

  1. Solid color not so solid on nVidia??
    By andras in forum OpenGL: Advanced Coding
    Replies: 13
    Last Post: 01-22-2006, 07:27 AM
  2. two sided polygons
    By zed in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 10-07-2005, 02:26 PM
  3. two sided polygons
    By guest in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 11-24-2003, 03:46 AM
  4. Two Sided Lighting, need help
    By jerin3D in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 03-15-2002, 06:39 PM
  5. Two sided texture
    By vikky in forum OpenGL: General
    Replies: 4
    Last Post: 04-25-2001, 03:35 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