Main Menu
Menu

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.

Show posts Menu

Topics - gman

#1
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.