Hello all,
For my purposes, I need to store a transformation matrix for each object in my 3D world. I’ve written code to multiply matrices and perform rotations, translations etc… myself but I would like to use the existing matrix stack within JOGL to do the work for me by using glRotated, glTranslated and then retrieving the resulting matrix. I know within non-java OpenGL you can use methods like glGetMatrixd to retrieve the current matrix on the stack. I did not see an equivalent method in the JOGL API. Any suggestions?
Thanks!