Jump to content
  • Advertisement
Sign in to follow this  
iust79

points "cut" in an aabb by a moving sphere

This topic is 2859 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!

Please, can someone help me with some hints on this problem:

I have a cloud of points with the same distance between them, align along the 3axes (it can be assimilated with an aabb) and a sphere that is moving toward it (linear moving can be assumed). I want to determine the points hit by the sphere.
I postpone this check until the sphere touch the aabb (I use a collision test based on Arvo's algorithm). My problem is that I don't want to use a brute force approach, that is, while the sphere verify the collision test check all the points of the cloud after each move and see if they are touched and mark them if they are. Is there a faster way to solve this problem?

Thanks!

P.S. After some reading I was thinking to try to divide that aabb in smaller aabb's but I need some help in finding algorithm for this aproach (if it is the right one).

[Edited by - iust79 on August 20, 2010 12:13:24 PM]

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.

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

Sign me up!