Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Teknofreek

Creating a Bounding Ellipsoid

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

Just wondering if anyone has any good methods or links to a discussions about creating and using bounding ellipsoids. I''m thinking about trying to implement them for collision detection after reading a nice paper, by Paul Nettle, about their use for collision. However, I''m curious as to a good method for creating the ellipsoid itself so that it tightly bounds my objects. It may just be that it''s late and I''m too tired to think straight, but it seems a bit more complex than defining a bounding sphere, since you can''t just compare all distances from the center and find the largest one, right? Also, it seems like the would be a lot of situations where the ideal center of your bounding ellipsoid isn''t the same as the center of your object...which is true with sphere as well. But again, it seems more complicated in this case. Actually...just thinking aloud...I suppose one method that might work would be to find the length, width, and height of our object and then scale the vertices belonging to it to make it a perfect cube. From there you could a good bounding sphere and then scale it back out using the ratio of length, width, and height you found before. Would that work? In any case...I''d love to hear anything you guys might have to say about the matter -John

Share this post


Link to post
Share on other sites
Advertisement
>> I think that your idea of scaling the vertices in a cube is pretty neat. Go for it!<<

Thanks, I''ll give it a go I gotta get some other stuff outta the way first though, but if it works, I''ll try to report my findings back up here

Anyone else have any ideas that might work better than this?

-John

Share this post


Link to post
Share on other sites

  • 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!