2 votes
Date Updated: 

Raytracer literally throws rays (as splines) and traces their path as they reflect off of surfaces in the scene. This is helpful if you want to visualise the path of light (or sound) and not to visualise the actual ray-traced rendering. You can choose an object of any shape. The script will convert it into an Editable Poly and throw a ray from each of its faces. Therefore, you can have parallel rays by choosing a segmented plane. If you want to throw rays in almost every direction, choose a highly segmented sphere. You can also start with any editable poly and delete surface from it so that it throws rays only from the remaining surfaces (to limit direction for example). You can choose to intersect with the whole scene or with just one object. (Sorry, I did not implement intersection with a selected number of objects. This is planned for a future version). You can also specify the maximum number of reflections (be careful with compute times for large numbers of reflections). Lastly, you can specify the length of the last reflection (that goes to infinity). All ray-traced splines are children of the parent ray origin object. Pressing the reset button deletes all the rays and resets all the parameters.

raytracer.ms8.45 KB
raytracer.png522.59 KB