PDA

View Full Version : "sierra" effect...



shoot
11-07-2000, 03:49 PM
Hello...
I have a terrain rendered with triangles strips, and now I putted a very large quad... to simulate the sea...
but in the intersection of the quad with the terrain, i can see a "sierra effect"
(I cannot explain how is sierra in english)..
something like this:

/|/|/|/|/|/|/|

How can I delete this effect? I think that is Z buffer resolution, but I'm not shure how to change it... and if it will work..

thanks
MARC

zed
11-07-2000, 08:16 PM
push your near depth testing plane as high as possible + bring the far one in close as possible
gluPerspective(..,..,near,far)
or glFrustum(.,.,.,.,near,far)
or use a 24 bit depth buffer

Pauly
11-08-2000, 07:31 AM
Umm, so "sierra" means "Z-Aliasing" then? http://www.opengl.org/discussion_boards/ubb/wink.gif

shoot
11-08-2000, 03:10 PM
Originally posted by zed:
push your near depth testing plane as high as possible + bring the far one in close as possible
gluPerspective(..,..,near,far)
or glFrustum(.,.,.,.,near,far)
or use a 24 bit depth buffer

The two testing palnes are so close by example 100 and 5000.. and the depth buffer is at 32 bit... but the sierra effect stills kiking... http://www.opengl.org/discussion_boards/ubb/frown.gif

MARC