gluLookat() vs. glTransform/glRotate - Which is Faster?

I’m wondering whether people use gluLookat or the gl modelview transformation functions to position their “camera”, or eyepoint. I’m thinking that the raw transformation functions may be slightly faster, but gluLookat is definitely more intuitive.

Any opinions/facts you would like to share?


gluLookAt uses glRotate and glTranslate so speed isn’t going to be much different, gluLookAt may even be slower as it is more complex. gluLookAt is however more functional/useful/powerful and so is useualy better but it depends what you want to do with it. The important thing is not to bother making your own looking matrices and multiply them because this would usualy be slower unless you have specific needs.