hello, i am making a space flight simulation and am having trouble figuring out how to calculate the normal vector for my current camera view. i also need help animating my view so that it is always moving forward, and just changes directions by pitch and yaw relative to the current view. any suggestions?
i don’t really get what you mean by “the normal vector for my current camera view” you want a vector that givess you the direction in which you’re moving ?
for the rest, well, it depends on the way you manage your camera system…
basicly, if you use gluLookAt() you just have to add your direction vector to the first set of 3 coord (camera position) and to the second set of coords (camera view)
if you add them at every frame, the camera will move forward
hope i helped