Login  Register

Re: apparent cull face problem with highly-curved geometry

Posted by mcneillk on Jan 25, 2015; 10:38am
URL: https://forum.jogamp.org/apparent-cull-face-problem-with-highly-curved-geometry-tp4033914p4033921.html

I'm not quite sure I follow, since the torus shown in the screenshot is convex.

In addition, the "old" native bindings are also OpenGL, and they work fine for all concave shapes I've seen (e.g. inside of a hemisphere).

As you know, OpenGL uses GL_FRONT​, GL_BACK​, or GL_FRONT_AND_BACK​ to select which faces to draw. It looks like the geometry might not be passed correctly to the new JOGL layer. I say this because even if I set CULL_FACE to GL_FRONT_AND_BACK in Java 3D, the rendering is still broken.

Thanks for your involvement in this project!