How can I create a MVP matrix for ES 2.0 in Android?
satya - Tue Jul 24 2012 09:12:24 GMT-0400 (Eastern Daylight Time)
General idea
Use Matrix class
Get a model matrix by using camera settings as in OpenGL 1.1
Get a projection matrix using frustum settings as in opengl 1.1
Multiply these matrices to get the MVP matrix
MVP stands for Model View Projection Matrix
There are APIs on Matrix and GLES20 classes in the android sdk
to provision these.
satya - Tue Jul 24 2012 09:12:36 GMT-0400 (Eastern Daylight Time)
I will post some sample code soon.
I will post some sample code soon.