Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Plane Determination

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2000
    Location
    Brasil
    Posts
    20

    Plane Determination

    Hi,

    I am trying to draw a 3D Polygon here but when I am rotating the Object more than 180 degrees something goes wrong with the polygon ... To fix that problem I tried to use plane determination technique as in the line below:
    (when i am setting up the rendering context)
    glFrontFace(GL_CW);
    (before drawing the polygon)
    glEnable(GL_DEPTH_TEST);

    Even with these above its not working ....

    what's going on ??
    Does anybody has very simple example teaching how can I make it ??
    hmcranio is platoberg

  2. #2
    Guest

    Re: Plane Determination

    What goes wrong?

    If the polygon disappares then it could be that you've enabled culling or something.

  3. #3
    Junior Member Regular Contributor
    Join Date
    Jun 2000
    Location
    Bucharest, Romania
    Posts
    113

    Re: Plane Determination

    Maybe when you rotate the polygon you get over the near of the far clipping plane. Check them and the coordinates of the polygon.

    NewROmancer

  4. #4
    Advanced Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    668

    Re: Plane Determination

    Try drawing front and back face, and yes check your clipping plane in the near and far

    gav

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •