08-15-2001, 02:37 AM
Hi,
I'm currently moving my camera about by reading back the modelview matrix using glGetFloatv, and using the inverse of the matrix as the axes of motion. I've read, though, that reading info back from OpenGL is generally a Bad Thing for performance. So my question is, will it really take longer to read the matrix back once per frame than it will to calc the rotations myself? Thanks for any input.
I'm currently moving my camera about by reading back the modelview matrix using glGetFloatv, and using the inverse of the matrix as the axes of motion. I've read, though, that reading info back from OpenGL is generally a Bad Thing for performance. So my question is, will it really take longer to read the matrix back once per frame than it will to calc the rotations myself? Thanks for any input.