Tutorial: FPS camera using Matrix

Started by ste3e, December 17, 2010, 10:27:26

Previous topic - Next topic


Finally I have a camera that I nearly understand. I would be grateful if someone could point out errors if there are any, or provide some information concerning the relationship between the rotation part of the openGL matrix and the translation part.

The tutorial calculates the rotation and translation of the camera and creates a matrix which is then loaded into openGL. A simple quad behaves as a weapon, ie, moves around with the camera. There is a simple floor and a box on the floor around which to navigate.

The tutorial is here: https://docs.google.com/leaf?id=0B9hhZie2D-fEYjU4Y2IxZTMtZDI3My00ZjM3LTgzMGEtMzM3OTFjZGZmZjc5&hl=en