GLGraphics and applyMatrix()
in
Contributed Library Questions
•
2 years ago
Hi,
))
I am working on a project using Jbullet and Opengl and I want to move to
GLGraphics because of all the cool stuff it offers. To match what I am drawing with Jbullet, i am using applymatrix() but switching to
GLGraphics mess up everything as it doesn't seems to implement applymatrix(). I tried with glMultMatrixf with no luck, everything is out of sync and go in the wrong directions, etc...
Is there a way to not use applymatrix() and go from quaternion to rotateX, rotateY, rotateZ? Or extract x,y,z angles from a 4x4 or 3x3 matrix?
ps: I will put the code for using Jbullet and Object loader together as the old example I found a few years ago on the old forums didn't load the vertex properly in a compoundShape (Jbullet), plus I discovered a few cool stuffs.
))
1