Login  Register

z buffer problem in mac os x

Posted by runiter on Dec 10, 2012; 4:09pm
URL: https://forum.jogamp.org/z-buffer-problem-in-mac-os-x-tp4027467.html

In my application I draw a wall which consists of an inner quad (plain white) and an outer quad (textured with bricks).

In my camera setup I set the near-far plates to 1-2000 which works great in windows, but in mac when I zoom out the renderer draws the inner quad in front of the outer quad.

If I change the near plate from 1 to 10, it helps but if I zoom farther it does it again.

Why is it that the z buffer seem to be so inaccurate in mac os x but very accurate in windows?
Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D