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

对着背影说爱祢 提交于 2019-12-21 20:57:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!