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 2 of 2

Thread: polygon jaggies

  1. #1
    Intern Contributor
    Join Date
    Apr 2004
    Location
    Bangalore India
    Posts
    65

    polygon jaggies

    Hi,

    I have draw a box with 4 sides as 4 polygons and coloured all the four polygons with different colours. The box looks bit fair when iam close to it , and if iam zooming out of the box the colours of the adjaent polygons gets overlapped at the edges and these jaggies keeps on growing while zooming far away fromm the box. I dont knw the antialiasing concepts used to slove this problem. Can any one help me to set the rendering correct.
    Regards

    K.Kumar

  2. #2
    Member Regular Contributor
    Join Date
    Oct 2001
    Location
    Princeton, NJ
    Posts
    386

    Re: polygon jaggies

    doesn't sound like an antialiasing problem, its probably your depth buffer. Remember that depth buffer precision goes down as you go further from the origen so as the box goes away you begin to see z-fighting. The simplest way to fix this problem is to move your zNear plane in the gluPerspective call away from the origin

Posting Permissions

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