Looking forward to reading this post but just wanted to say that the work Tyler has done on ray tracing in R is phenomenal. I highly recommend checking out this package website: https://www.rayshader.com
And the rasterizer/mesh manipulation package {rayvertex} here: