PDA

View Full Version : Quaternion Camera demo released



dpoon
08-15-2006, 06:41 AM
Hi all,

Earlier I made a posting about an OpenGL vector based camera demo. I've released a second demo that implements a quaternion based camera.

Two main C++ classes are provided: the Camera class, and the Mouse class. The Camera class contains all of the quaternion, vector, and matrix math and the Mouse class contains the logic to process raw mouse data (using the Windows XP raw input model APIs).

I'm hoping that beginners will find this demo useful. The included Camera is a solid foundation on which to build a full featured 3d camera that can be used in a game.

Note that since this demo is aimed at the beginner I decided not to include features such as camera collision detection, leaning, jumping, crouching, etc.

The demo and source can be downloaded from here. (http://www.dhpoware.com)

glBomb
08-21-2006, 03:59 PM
thanks dpoon..really useful!!