Jump to content
  • Advertisement
Sign in to follow this  
Slaaitjuh

Calculate bounding sphere based on minimum screen size

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

Hey Guys, I have (at least for me) a bit of a tough time figuring something out. I want to create a bounding sphere around an object, based on the minimum size it has to have on the screen. I have all camera parameters at hand, screen size at hand and the size of the bounding volume of the object itself, i just need to somehow calculate the distance towards the object in world space where the object starts to come into the field of possibly beeing 10% of screen size. Of course if the object is rotated somehow the area might be less then 10% even though the area is calculated right, but when the viewer comes into that area i can spend more expensive calculations. I made an image that might give some more visual idea to the "problem", and i was hoping someone might give me some hints, tips or solutions to the problem... Thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
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!