lighttransport / nanort

NanoRT, single header only modern ray tracing kernel.
MIT License
1.08k stars 91 forks source link

MultiHitTraverse #70

Open fluider opened 3 years ago

fluider commented 3 years ago

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

syoyo commented 3 years ago

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.

bimworld commented 3 years ago

ok, thank you

ghislainp commented 2 years ago

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

syoyo commented 2 years ago

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

You can contribute writing MultiHit example to test it!