How to apply the projection and modelview matrixs of QCAR (Vuforia) to min3D scene

973 Views Asked by At

I would like to use Qualcomm's Augmented Reality SDK (Vuforia) with the min3D library and load obj model. How can I merge QCAR (Vuforia) with min3D? How to apply the projection and modelview matrixs of QCAR (Vuforia) to min3D? So that the scene is rendered correct in min3d.glsurfaceview? Has anyone developed an example? How is your experience?

How can I apply movdelview and project matrix which was generated by QCAR in C to apply then in Min3D scene of Java? Suggest me to achieve this.any sample code which have already solved this is helpful.

2

There are 2 best solutions below

0
On

I tried the same but I did not succeed as the movdelview matrix that Min3d accepts is different from what Vuforia gives, so I used jpct-ae instead and now I am able to load even animated Md2 models. Try Jpct and if you face problem ask.

0
On

I did the same thing as @yogi said. jPCT-AE and QCAR together are awesome. I used a single GLSurfaceView and brought the ModelView matrix and the actual video resolution from native code to Java. Then you can easily load an MD2 file along with animation.

You can watch the result here:

http://youtu.be/chsHh0pEhzw