Based on the questions you've been asking me you're really serious about learning how a raytracer works. If you want I can start a topic in the forums where I go over all of the math involved.
A basic ray-tracer that draws a 3D object using x, y, cubic value and cube root variable to function. Since there is no cube root (or square root for that matter) function in scratch, this is drawn using a cubic approximation.
This project requires some time to perform considering scratch is pretty slow online and is not as advanced as real computer programs. Ergo, this program draws a 3D prism drawn in perspective using it's camera positions.
This was a lot of fun to create. I thank the scratch team for making such a well though out program. Thanks to Canthiar for the idea! (From the Full Raytracer project).
Comments
You need to be logged in to post comments
Add a Comment
I've started a topic in the forums here: (link to forums) Over the next few days I will gradually post information on what I did.
(view all replies)Comment Reply
Thanks Canthiar. I think that will really be effective for me.
(view all replies)Comment Reply
Based on the questions you've been asking me you're really serious about learning how a raytracer works. If you want I can start a topic in the forums where I go over all of the math involved.
(view all replies)Comment Reply