How fast is glGetDoublev GL_MODELVIEW_MATRIX?
Will I gain speed if I get the modelview matrix, do all my multiplications, and glLoadMatrix it back in instead of doing translate, rotate, scale operations?
How fast is glGetDoublev GL_MODELVIEW_MATRIX?
Will I gain speed if I get the modelview matrix, do all my multiplications, and glLoadMatrix it back in instead of doing translate, rotate, scale operations?
It depends :-)Originally posted by Noah:
How fast is glGetDoublev GL_MODELVIEW_MATRIX?
Will I gain speed if I get the modelview matrix, do all my multiplications, and glLoadMatrix it back in instead of doing translate, rotate, scale operations?
You can define your functions as inline,
no loops. The size of your app will be greater, but the performance also ...
If your target is G4 you can use the Altivec Unit ....
adios ...