Sign in to follow this  
Slaaitjuh

Calculate bounding sphere based on minimum screen size

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this