I have a 3D game world!
I use gluLookAt to set the "camera" , so that i see the world from the right pos, in the right direction.
In my world, i have a ship! It have a position, a facing_direction_vector, and a up_direction_vactor!
How can i use these vectors to rotate and transforme the ship?
I think i need to use glPushMatrix, and glPopMatrix to set and restore the world matrix, but what about the code betwen?
Please help! :-)
-Anders-Oredsson-Norway-
gluLookAt for in_game_world_objekts?
Started by uncutno, Jun 27 2001 11:17 AM
4 replies to this topic






