How to Make Your Own Raytracer: Part 1

How to Make Your Own Raytracer: Part 1

by Geotale

👁 3,021 ❤️ 169 ⭐ 157 🔄 4
Created: Mar 16, 2020 Last modified: Jun 26, 2021 Shared: Mar 18, 2020

Description

Note: Ever since making this, I've noticed it's not as good as I'd like -- It gives code but doesn't really explain things. I'd recommend https://scratch.mit.edu/projects/404481885/ by @SpinningCube for a raymarcher, which I personally think is much easier to understand (and in my opinion can do much cooler things) You don't have to credit me. This is supposed to be informational, so if you make your own that's fine :) @Canthiar. There's a good raytracing tutorial online, but their implementation explains what it's trying to say with functions that don't exist or I've never heard of. #ray #madness

Instructions

Part 1: Drawing spheres to the screen Press the green flag, and hit space to continue. Part 2: https://scratch.mit.edu/projects/377492127/ This raytracer so far will only draw spheres of different colors, though the next few parts should be adding a bit more. The next part should be adding planes (infinitely long ground/walls, not sharp objects) and shadows to it!

Project Details

Visibility
Visible
Comments
Enabled