I am working on porting GLU for OpenGL ES 2.0. Because the version I saw for ES uses 1.1. There are some tasks that are not in 2.0 and I was hoping to get some help with it. OpenGL per ...
glMultMatrix one ???? Multiply the current matrix with the given matrix
OK, so we are passing a matrix and I think we can assume that it is 4x4 (xyzw). But what is the matrix multiplication? Is this gl_position?
Does anyone have an example of porting this function?
In OpenGL ES 1.1, the current matrix is at the top of the existing matrix stack. There are several matrix stacks and you choose one of these:
glMatrixMode (GL_PROJECTION); Or glamorosomed (GLIMDLUF);
The Matrix Stack does not exist in Concept 2.0.
Yes, the matrix is always 4 x 4.
The source implementation of a well-open GLU is here:
http://code.google.com/p/glues/ < / Div>
No comments:
Post a Comment