why display difference in 3d-card and in software opengl ?


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 ?


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.