Jump to content
  • Advertisement
Sign in to follow this  

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

This topic is 3994 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!