Hi,
I'm struggling with getting the matrix of gl.
I want to know the transformation matrix of GL when the object is
drawn,
so i put the command in the draw(GL10 gl) method of CustomObject.
gl.glGetIntegerv(GL10.GL_PROJECTION,mat,0);
which gives me the null matrix.
gl.glGetIntegerv(GL10.GL_MODELVIEW,mat,0);
also gives me the null matrix.
Therefore, I tried to find other way to get it, and I used
MatrixGrabber(
http://developer.android.com/resources/samples/ApiDemos/
src/com/example/android/apis/graphics/spritetext/MatrixGrabber.html)
However, now it gives me an identity matrix.
I have no idea how I can get the matrix at all :(
Could you help me,plz?