Opengl Augmented Reality in Android from solvepnp
问题 I am trying to project a 3D surface in opengl on top of a camera view in Android. I am using opencv function solvepnp in native code to get the rotation and translation vectors of the device camera. I use these vectors to calculate the modelView matrix and modelViewProjection matrix as given in the following link: http://spottrlabs.blogspot.com/2012/07/opencv-and-opengl-not-always-friends.html Finally, I pass these matrices to the java code in a float array but when I use these matrices in my