问题
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.
回答1:
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
回答2:
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.
来源:https://stackoverflow.com/questions/10810360/how-to-apply-the-projection-and-modelview-matrixs-of-qcar-vuforia-to-min3d-sce