PDA

View Full Version : Vector Camera



zedus
11-22-2000, 07:41 AM
I need to code the LookAt function myself. I mean that instead of giving my camera 3 angles that tell it where to look I'll give it a point to look at. How is it done - are there any tutorials on that subject (note that the rest of the camera issues are already implemented).
I'll highly appreciate any help.

Divide Overflow
11-22-2000, 09:46 AM
http://www.wi.leidenuniv.nl/~dpalomo/camtut/camtut.html

might be just what you're looking for...

Divide Overflow
-- Divide Overflow rulez !

zedus
11-24-2000, 06:44 AM
10x for your reply but I eventually solved it , it was just a simple calculation of the angles between the vector and the axes.
10x anyway!