Login  Register

apparent cull face problem with highly-curved geometry

Posted by mcneillk on Jan 24, 2015; 6:20pm
URL: https://forum.jogamp.org/apparent-cull-face-problem-with-highly-curved-geometry-tp4033914.html

The JOGL bindings have a problem with highly-curved geometry. The front faces don't render correctly on the screenshots of a torus shape below, seen from the front I have put a perspective view to show the actual shape. When the viewing angle is in a certain range, the rendering is broken. The same type of problem happens with other shapes, like a hemisphere, but only when you CULL_FACE is set to NONE (in order to see the concave face).

OGL
OGL bindings (incorrect)

JOGL (grid removed for clarity)
JOGL bindings (incorrect)