Re: My Obj is deforming while rotating.
Posted by
gouessej on
Aug 12, 2017; 12:17pm
URL: https://forum.jogamp.org/My-Obj-is-deforming-while-rotating-tp4038111p4038115.html
When you create a GLU instance directly, you benefit only of a subset of features supported by all other GLU implementations. When you call GLU.createGLU(GL), it chooses the most appropriate GLU implementation for you which supports much more features, there are less cases in which you may receive an UnsupportedOperationException.
I don't advise you to use another API but their source code can be a good source of inspiration and the WaveFront OBJ importer you use is very incomplete in comparison with the ones I mentioned in my previous post.
You can't learn the concepts of 3D computer graphics only by reading some source code. I advise you to look at the OpenGL red book and its examples were ported to JOGL several years ago:
https://github.com/gouessej/jogl-demos/tree/master/src/redbook/src