> The model being rendered also is hard-coded in the ray tracer.
This is true - but there's no reason why it couldn't be modified to read in a scene description. It's more a proof of concept than anything else.
This is true - but there's no reason why it couldn't be modified to read in a scene description. It's more a proof of concept than anything else.
I expected a monstrosity that had multiple targets for every pixel (“ray arriving at (x,y)”, “ray arriving at (x,y) after one bounce”, etc), with some magic to merge all the outputs of the last bounce into an image, say by generating a huge html table, with each cell having a different background color.