camera opengl
-
heyhey i know I'm just someone asking for the millionth time... but I read a lot about cameras and even read the Games Germs article in my book, but I cannot get the vector camera running... here are my questions: *I know I've got UVN vectors (for right, up, and forward) (?) *I need an additional vector for the viewing direction, right? *the viewing direction is calculated by the angles yaw, pitch and roll around the right, up and forward vectors, right? *are the vectors right, up and forward fix? I mean are they always parallel to the plane I'm walking on when I want to do a first-person camera? *when I want to use the gluLookat function do I put in the lookat-vector as vector of length 1 or is it: pos+fwd? hm... those things troubled me for some time now PS: a general question: when I wanna keep my "gameengine" as usable as possible is it better to put the camera as seperate Object-Class on which the Game-Class has access or should I put it to the player-class? both have their advantages... either seperate camera which can be switched for animation scenes... or easy-access when player-data is needed? dyou know what i mean? thx in advance