Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - gman

Pages: [1]
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.

Pages: [1]