Jump to content
  • Advertisement
Sign in to follow this  
induster

Window bounds

This topic is 3791 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

Hi, I want to set up bound limits so that my objects bounce off the edges of the screen. You might be thinking to yourself, "how innovative!" lol. My question: is screen resolution a factor in bound limits? I tried doing some trig on the near-plane/far-plane with the angle of projection to determine the total viewing area, but the numbers didn't match up with the coordinates of my bouncing balls. If someone could help me out I'd certainly appreciate it!

Share this post


Link to post
Share on other sites
Advertisement
i think that frustum doesn`t depend on resolution in any way. field-of-view angle, and screen ratio, then far and near plane should be enough, i guess.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!