Re: Translating a rotated model.
Posted by
gouessej on
Sep 30, 2014; 9:02pm
URL: https://forum.jogamp.org/Translating-a-rotated-model-tp4033250p4033263.html
There are a few unit tests that use PMVMatrix, including this one:
https://github.com/sgothel/jogl/blob/master/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestGLSLShaderState01NEWT.javaI tried to use it once but I forgot something and it didn't work. It's probably my fault. Sven knows better than me how to use this feature.
JogAmp's Ardor3D Continuation, JMonkeyEngine, LibGDX and Java 3D aren't black boxes, they are open source. If JOGL is enough for your need and if you want to learn OpenGL, just stick with it but if you don't want to spend a lot of time in writing some boilerplate code (=end up by writing more or less your own scenegraph which is time consuming), I advise you to use a scenegraph. I wrote a detailed tutorial about Java 3D and I'm going to do the same with JogAmp's Ardor3D Continuation. It will contain about 45 simple examples, it will be worth a look.