Canthiar's Original Raytracer project and notes:
(link to project)
This is a full raytracer written in Scratch that supports ambient, diffuse, and phong lighting, light occlusion and a single level of reflection.
Running this program requires a lot of patience since it can take several hours to render the scene with the pen size set to 2.
This was a lot of fun to write. I think the Scratch team has done a wonderful job in developing such an extinsible language.
LoganK's notes
When I first saw Canthiar's raytracer, I was amazed, but a little disappointed that I couldn't change anything. So I downloaded it and then was doubly amazed at the math that was involved.
Once I figured out how to change the positions of the objects, I wanted an easier way to do it. That's when I decided to try and make my own remix.
I hope someone else finds it interesting. Even though I don't get most of it, it was fun going through Canthiar's code and figuring out a little of it.
...if anyone's interested, it took 12 hours, 8 minutes and 24 seconds to render the entire scene at pensize 1.
Comments
You need to be logged in to post comments
Add a Comment