Jump to content
  • Advertisement
Sign in to follow this  
parasporospa

OBBs intersection volume

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

Advertisement
in what form? as a set of polygons?

if it's polygons you want, you clip the polygons of one box with the other box, and vice-versa.

Share this post


Link to post
Share on other sites
An OBB-OBB intersection is complicated enough that you're probably best off just using general CSG routines.

Share this post


Link to post
Share on other sites
Thanks,

I want it as a set of polygons.
I thought up an algorithm as following.
Is this correct?

1. Find all OBB vertices that are contained in the another.
2. Find all intersection points between the OBB edges and another's facets.
3. Compute the convex hull of those vertices.

I think there may be a more efficient algorithm
that compute the intersection volume of two polyhedra...

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!