¡@

Home 

2014/10/16 ¤W¤È 08:23:03

android Programming Glossary: rotmat

How to use an OpenCV rotation and translation vector with OpenGL ES in Android?

http://stackoverflow.com/questions/3712049/how-to-use-an-opencv-rotation-and-translation-vector-with-opengl-es-in-android

here is my solution. float rv 3 the rotation vector float rotMat 9 rotation matrix float tv 3 translation vector. rv 1 1.0f rv.. here. Complete matrix ready to use for OpenGL float RTMat rotMat 0 rotMat 3 rotMat 6 0.0f rotMat 1 rotMat 4 rotMat 7 0.0f rotMat.. matrix ready to use for OpenGL float RTMat rotMat 0 rotMat 3 rotMat 6 0.0f rotMat 1 rotMat 4 rotMat 7 0.0f rotMat 2 rotMat..

How to use an OpenCV rotation and translation vector with OpenGL ES in Android?

http://stackoverflow.com/questions/3712049/how-to-use-an-opencv-rotation-and-translation-vector-with-opengl-es-in-android

'work'. For anyone who will need to do this in the future here is my solution. float rv 3 the rotation vector float rotMat 9 rotation matrix float tv 3 translation vector. rv 1 1.0f rv 1 rv 2 1.0f rv 2 Convert the rotation vector into a matrix.. 1 rv 2 1.0f rv 2 Convert the rotation vector into a matrix here. Complete matrix ready to use for OpenGL float RTMat rotMat 0 rotMat 3 rotMat 6 0.0f rotMat 1 rotMat 4 rotMat 7 0.0f rotMat 2 rotMat 5 rotMat 8 0.0f tv 0 tv 1 tv 2 1.0f As genpfault.. 1.0f rv 2 Convert the rotation vector into a matrix here. Complete matrix ready to use for OpenGL float RTMat rotMat 0 rotMat 3 rotMat 6 0.0f rotMat 1 rotMat 4 rotMat 7 0.0f rotMat 2 rotMat 5 rotMat 8 0.0f tv 0 tv 1 tv 2 1.0f As genpfault said..