Original Post
heyhey this is my first post... short introduction: I'm zqueezy, relatively new at game/graphic programming but already excited 'to the utmost'. I'm trying to do my own game engine and I already have some simple problems regarding my (1) Design and (2) my vector cam: 1) I've got my own gameclass cause I want to keep my whole engine as OOP as possible. my game class can have classes of player to enable split screen for firstperson shooter. the problem here: both players need cameras but for games like soccer or general sport I'd only need an outside camera. my question here: where should I put the whole camera class (Player or Game-Objs)? my second question is regarding the vector camera. I've read lots of tutorials and I've got the Game Programming Germs I at hand for vector cameras. I think I got the whole idea of UVN and YPR. but still my implementation isn't working. so here are some short 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 or are those bound to the world axis? (In a shooter I do not turn around a local axis but on world axis right? *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? and is the lookat-vector the forward vector? hm... those things troubled me for some time now thx in advance zqueezy PS: excuse me if that was wrong forum: 1st post :)