PDA

View Full Version : why display difference in 3d-card and in software opengl ?



budzhang
12-13-2000, 06:02 AM
hi,

my opengl program display correct in
machine that no 3d card ,but it's not
corrent in a machine that has a 3d card.

it has sawtooth in side .

why is it maybe ?

thanks

Siwko
12-13-2000, 06:42 AM
Sounds like you're zbuffer is off. Try setting the pixel format to 32bit zbuffer, and/or reduce the distance between your near and far clipping planes.

Keep in mind that you lose approximately log(2)(zFar/zNear) bits of zbuffer precision. Keep that in mind when setting up your viewing volume.

Siwko