Results 1 to 2 of 2

Thread: distorted polys

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000

    distorted polys

    hi there,

    i've drawn a simple polygon which can be rotated around all axis.i used glHint(GL_PERSPECTIVE_CORRECTION_HINT,GL_FASTEST), to speed things up a little..
    i then noticed that the polygon openGL should draw looks differnet and distorted,i.e. it kind of switches between 2 states while rotating.

    normally,the poly should look like this:
    / \
    | |--| |
    |__| |__|

    but it looks like this!
    / ___ \
    | ____\|
    |_/ \ and at some other angle it changes the direction

    sorry for the f***** up picture,but i guess you know what i mean...
    quads and triangles look normally, changing the hint to GL_NICEST doesnt do anything.
    maybe i'll post some code here,but i think i did the setup right...

  2. #2
    Member Contributor
    Join Date
    Mar 2000
    PA, USA

    Re: distorted polys

    A couple things to check: ( I didn't understand your picture

    - The polygon should be convex, which means that a line between any two points within the polygon will lie completely in the polygon.

    - The polygon should be planar. I.e. all the points that define the polygon should be in a plane.

    - The polygon must not intersect itself. I.e. no figure 8 looking things.

    The results are undefined when any of the above conditions hold.

Similar Threads

  1. Mesa DRI Fog Distorted
    By Apani in forum OpenGL: Linux
    Replies: 1
    Last Post: 04-27-2010, 10:07 AM
  2. distorted screen
    By sust86 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-24-2009, 02:11 PM
  3. Textures distorted...
    By pmatos in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-03-2004, 09:35 AM
  4. Please HELP!. Getting distorted textures???
    By Sam_dup1 in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 02-15-2001, 04:28 PM
  5. Distorted Projection
    By Ekky Thump in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 11-17-2000, 06:30 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