By penprakash
on Tue, 07/09/2013 - 12:26
Hi,
I have followed the RajawaliVuforia tutorial and integrated the rajawali with vuforia CloudReco and i am able to get the 3D model but model is not positioned properly in target image center and also if i move camera close or up, the model is positioning out of the target image. Can you please let me know what could be the issue.
i have got the modelviewmatrix from JNI to java and assigned to rajawali camera like,
mPosition.setAll(modelViewMatrix[12], -modelViewMatrix[13], -modelViewMatrix[14]);
Thanks & Regards,Prakash V
3d model positioning
Hi, the best would be to ask to the author of the RajawaliVuforia project (as the project is not officially supported by Vuforia)
3d model positioning
I'd also take a look at where the origin (ie, 0,0,0 in local coordinates) of the model you are displaying is, relative to the target origin.