hi,
In my code all objects have a modelview matrix, then after I render it I load the matrix with glLoadMatrix();
it works fine for scaling and translate, but I don’t know how to rotate, using quaternions. I search a bit and I found only tutorials that say what are quaternions and quaternion operations, but I dont find anything about how to build the modelview matrix to represent a rotation using quaternions.
I know some operations like axis to quaternion, matrix to quaternion, but how use it?
anyone know where I can find some info/tutorial about how to build the modelview to rotate an object?
thanks in advance.