Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RadeonRays for collision detection between deformable objects #211

Open
korzen opened this issue May 18, 2020 · 3 comments
Open

RadeonRays for collision detection between deformable objects #211

korzen opened this issue May 18, 2020 · 3 comments

Comments

@korzen
Copy link

korzen commented May 18, 2020

Hi, do you think this SDK could be applied in physically-based simulation to detect collisions between two deformable objects (aka softbodies)? More specifically:

  1. To intersect simple spheres instead of rays vs triangles wrapped in AABB tree
  2. To intersect one AABB vs another AABB
  3. Can the AABB tree of a deformable mesh be efficiently refitted on the GPU every frame (it does not have to be fully/partially rebuilt, just a bottom-up propagation of bounds size change)

Thanks!

@ilyas-gazizov
Copy link

ilyas-gazizov commented Jun 2, 2020

Hi, sorry for the delay in reply. Currently 1 and 2 are not supported in current API of the library. 3 is supported with update operation of geometry. All update operations are performed on GPU as well as intersect queries.

@korzen
Copy link
Author

korzen commented Jun 2, 2020

Thank you for your reply. I guess adding 1. (i.e. sphere-triangle check or rather calculations of closest distance from a point to a triangle) to the API would not be much work and could result in some very interesting applications outside graphics (e.g. my field is surgical simulation). Thanks!

@BluePrintRandom
Copy link

BluePrintRandom commented Jun 2, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants