nanort icon indicating copy to clipboard operation
nanort copied to clipboard

MultiHitTraverse

Open fluider opened this issue 3 years ago • 4 comments

Hi!

Is it safe to define the #if0 MultiHitTraverse? I need all hit triangles in the ray interval. I found an old issue related to this, which was closed. https://github.com/lighttransport/nanort/issues/33 Best

fluider avatar Feb 23 '21 20:02 fluider

MultiHitTraverse is still not yet implemented. If you don't care about the performance, you can look into 'example/nanosg' code to list up possible intersections along the ray.

syoyo avatar Feb 24 '21 05:02 syoyo

ok, thank you

bimworld avatar Feb 24 '21 13:02 bimworld

The commented code seems to be almost working ? Do you man to implement such a function ?

ghislainp avatar Oct 28 '22 13:10 ghislainp

@ghislainp Not sure. It may work, but not tested well.

You can contribute writing MultiHit example to test it!

syoyo avatar Oct 28 '22 14:10 syoyo