Rajawali / RajawaliVuforia

Rajawali + Vuforia Augmented Reality
Other
227 stars 108 forks source link

how to get the modelViewMatrix #20

Closed ptofga closed 10 years ago

ptofga commented 11 years ago

HI, I use rajawali for 3d engine for my AR sdk. i just use openCV function nativeDetect to detect the marker, and get two MAT variables Rvec,Tvec. but I don't know to how calculate the right modelViewmatrix for rajawali engine. i just found a function foundFrameMarker(int markerId, float[] modelViewMatrix) in RajwaliVuforia. and my question is how to get the modelViewMatrix in RajawaliVuforia?

MasDennis commented 10 years ago

This is currently not possible. The modelViewMatrix is a private property in the RajawaliVuforiaRenderer class. Please let me know if you still need this. I could expose it if you find it useful.