View Full Version : Efficient Camera class
09-23-2004, 02:49 AM
I need an idea about how to make an efficient
I suppose it couldnīt make geometric operations, it would only use glRotate, glTranslate, glScale, glLoadMatrix and glGetIntegerv.
09-23-2004, 04:34 PM
Due to the fact that I need the camera's matrix for some certain things, I store, calculate and load that myself. I suggest you do the same, or else you may end up rewriting your camera class. Aside from that, there really isn't much to writing a camera class. For a decent beginner's eye view of what a camera class should look like, take a look at some of the tutorials available on the net.
Here's a bone for you www.gametutorials.com. (http://www.gametutorials.com.)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.