kip-hart / AABBTree

Pure Python implementation of d-dimensional AABB tree.
https://aabbtree.readthedocs.io
MIT License
62 stars 11 forks source link

Ray casting #11

Closed rpopovici closed 4 years ago

rpopovici commented 4 years ago

Hello,

I have some questions:

Thanks

kip-hart commented 4 years ago

Hi, this package does not support either of those. The two classes in the package, AABB and AABBTree, only consider bounding boxes.

Since the bounding boxes of two objects overlap whenever the objects themselves overlap, the AABBTree can be used to quickly identify which objects to check for overlap.

I don't have a recommendation for ray tracing, unfortunately, other than to search PyPI for a supporting package.

kip-hart commented 4 years ago

Closing this as a week has passed. Feel free to re-open if you have any followup questions.