Rotation optimizations

Started by
2 comments, last by EvilProgrammer 20 years, 8 months ago
I''m about 3300 lines into my first 3D graphics engine, and already I''m noticing the biggest slow down comes when the camera gets rotated. I''m basically just using the opengl rotation functions right now. Are there any cool optimizations for rotations?
Advertisement
could you elaborate?

how exactly are you calculating the rotations?
End Of Discussion.
Do you use glPush/PopMatrix()?

"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
Member of the Shove Pouya Off A Cliff club, SPOAC. (If you wish to join, add this line to your signature.)Member of "Un-Ban nes8bit" association, UNA (to join put this in your sig)"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
Heh never mind. I was doing it wrong. It runs perfectly normally.

This topic is closed to new replies.

Advertisement