2 ms·
> Now you want to actually trace something. There is at least three ways to it: > * write all intersection and BVH code by yourself; > * build and use open-
by jhgb 5y ago
> Now you want to actually trace something. There is at least three ways to it:
> * write all intersection and BVH code by yourself;
> * build and use open-source third-party library;
> * use something like Intel Embree.
How many more useful ways are there? Pretty much the only better thing that comes to my mind is "study something like Embree and then write a shader compiler that produces tracing code on-the-fly", and even that perhaps might not be actually better (although it's my understanding that OSL may actually be doing something like this).