NativeOctree icon indicating copy to clipboard operation
NativeOctree copied to clipboard

AABB Version?

Open Guedez opened this issue 5 years ago • 1 comments

Can you make a version that 'indexes' the elements by an AABB bound rather than a Point? I've tried to convert this myself a couple of times over the months, but I couldn't figure out those MortonCodes things

Guedez avatar Dec 06 '20 18:12 Guedez

Hey,

I did an experiment like this on the 2d version. Maybe have a look and let me know if it helps. I'm not sure if this it a good idea though, especially in 3d it's probably too wasteful.

https://github.com/marijnz/NativeQuadtree/tree/experiment_rects

marijnz avatar Dec 06 '20 20:12 marijnz