1
Support / How to change Coordinate system, like glMatrixMode
« on: October 22, 2010, 09:14:28 am »
Dear Sir,
I would like to change the coordinate system of the jPCT so that I can place the 3D model on specific position/orientation. In OpenGL, I can change the coordinate system by
gl.glMatrixMode(GL10.GL_PROJECTION);
gl.glLoadMatrixf( glCameraMatrixBuffer );
I got the glCameraMatrixBuffer declared with
protected static FloatBuffer glCameraMatrixBuffer;
On jPCT, how to change coordinate system that is working like
gl.glMatrixMode(GL10.GL_PROJECTION);
gl.glLoadMatrixf( glCameraMatrixBuffer );
Thank you very much for your kindly help.
I would like to change the coordinate system of the jPCT so that I can place the 3D model on specific position/orientation. In OpenGL, I can change the coordinate system by
gl.glMatrixMode(GL10.GL_PROJECTION);
gl.glLoadMatrixf( glCameraMatrixBuffer );
I got the glCameraMatrixBuffer declared with
protected static FloatBuffer glCameraMatrixBuffer;
On jPCT, how to change coordinate system that is working like
gl.glMatrixMode(GL10.GL_PROJECTION);
gl.glLoadMatrixf( glCameraMatrixBuffer );
Thank you very much for your kindly help.