Skip to main content
gamedev.net
🔒 Locked

Rotation optimizations

Started by EvilProgrammer 2 replies 300+ views
Original Post
EvilProgrammer
EvilProgrammer
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?
Mirgatroid
Mirgatroid
could you elaborate?

how exactly are you calculating the rotations?
End Of Discussion.
ShlomiSteinberg
ShlomiSteinberg
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)
EvilProgrammer
EvilProgrammer
Heh never mind. I was doing it wrong. It runs perfectly normally.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.