Re: weird rendering issue
Posted by Keith Willenson on Jul 26, 2016; 2:34pm
URL: https://forum.jogamp.org/weird-rendering-issue-tp4036958p4036975.html
That all makes sense, except for the part about relying on an unspecified behavior of Nvidia cards. Until recently, this code worked correctly on all graphics cards. I have older compiled versions of the code that still work correctly on all cards. Newer code is all non-3d features. I believe, and I could be wrong, that the only 3d changes are to make the code jogamp-java3d instead of lwjgl (but both behave in the same way) and a locally rolled version of com.jogamp.opengl.util.GLBuffers and com.jogamp.common.nio.Buffers.
I thought I turned back face culling off, but I will double check.
I will compare the old OpenGL code to the current OpenGL code and see if I can find differences. Also, I will look into the vertex winding and normal calculations.
Thanks,
Keith