Skip to content
Syoyo Fujita edited this page Jul 15, 2016 · 5 revisions

Custom geometry and intersection

(Experimental. custom_intersection branch)

You can support custom geometry and intersection by providing codes with C++ template.

See TriangleMesh, TriangleSAHPred, TriangleIntersection and TriangleIntersector class in nanort.h, and examples/particle_primitive for sphere example.

Clone this wiki locally