how to not align camera's center with window control's center

Started by
0 comments, last by wentworth 16 years, 8 months ago
I have a fairly standard first person shooter type camera in my terrain rendering engine. up until now it's been fine that the center of the camera is centered with respect to the window control it's rendering in. but now i want to arrange things so that the camera is not centered with respect to the window control. how to do that? as an example of how I'm trying to get it to work, say that you move the camera to be high above the terrain and then look perfectly straight down at the ground. now upon rotating the camera you'd see the ground spinning about a point not lining up with the center of the window control. any ideas? I'm using C# / MDX 1.1. Thanks in advance for any light anyone can shed!
Advertisement
Would it not suffice to merely multiply the projection matrix with a translation matrix?

This topic is closed to new replies.

Advertisement