Matrix Speed

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?

Originally posted by Noah:
[b]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?[/b]

It depends :slight_smile:
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 …

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.