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

Messages - gman

#1
Thank you very much for your suggestion  :)
I'll try your ideas.

Regards
#2
I unstand your explanation.

However, I think there are two ways to do this.

1. Transform the coordinate system so that the position 0,0,0 of the coordinate is on the marker's center.

2. Transform the Object so that it stand on the marker.

If we can transform the coordinate system, we do not need to transform the 3d object. Just place it on the position 0,0,0. It would be much more easier to maintain the animation.

I'm not sure that is it correct?

Should you advise me please.
#3
Thank you very much EgonOlsen for your quickly replied

My app is Augmented Reality, therefore, I would like to place the 3D animation on the center of the Marker.
I got the position and orientation of the marker. Then I would like to setup the coordinate system so that the position and orientation of the coordinate system is placed and rotated on the 'AR Marker'. After that I can place the 3D animation at the position 0,0,0 which is the center of the marker.

Could you help me please.
#4
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.
#5
Thanks a lot for your initiated ideas, specially for dl.zerocool and all jPCT team. Great !!!
I'm able to overlay the 3D object on the camera now. Quite fast on my HTC wildfire 2.1.

I have tried many 3D engine. jPCT is the fastest among other engine, rendering and loading.

Nice jPCT engine
Nice team developer.

Many Thanks.