Description
Thanks to @griffpatch for the "Find Normal" block. Check out @squirrelsRcool's similar project: https://scratch.mit.edu/projects/877109780/ This project is a 2D path tracer. Every frame, many samples are explored and accumulated. For each sample, a ray is sent in a random direction from the light source, after which it bounces several times off of the scene surfaces. This simulates the phenomenon of global illumination. For each bounce, it loses a bit of intensity, picks a random direction from the surface, and goes in that direction. I use the pen extension to trace the light paths and illuminate the scene. I designed various scenes for the light to travel through. Some look more like floor plans, others are more abstract. For the thumbnail, I ran the simulation in Scene 11 and took screenshots at different durations. The final image is a combination of all the images which I made using external software. It's kind of like merging multiple exposures to make an HDR image. #Math #Simulation #Light #Lighting #Ray #Raycaster #Raytracer #Raytracing #Raytrace #Global #Illumination #Reflections
Instructions
Use Turbo Mode by either: - shift-clicking the green flag - See inside > Edit > Turn on Turbo Mode If you want it to run even faster, use TurboWarp: https://turbowarp.org/650323522?hqpen&turbo Hover your mouse in the upper-right corner to reveal the "Scene" slider. You can also drag the light source to a different position.
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
-

Numberblocks Intro But It's number creatures (FIXED)
by scratchkid201224
-

(AY) The Approaching Black Hole V2 (10)
by RayatHasan
-

BFDI memes: 6 I like to cut G
by HouseofScratchLiam
-

THE OLDEST VIEW - a série #6 remix
by Reqjaaj_off
-

Angry Birds Back in Time (NOT MINE)
by TheSebasGamerXD
-

Seadtype V12.3
by stevenrobloxisback
-

Jayden's Pocoyo Logo Bloopers: Take 3: Random Rainbow Colours?
by JDCommunity2024
-

PAC-Man: Vector Pack
by SpikeyToons2007
-

Numberblocks (1-15) (2016)
by SANTASERNI
-

UPDATE talking tom and ben news 9 V4 added all hd remix remix-2 remix remix
by everton123E
-

Car Anatomy THA L5P Duramax
by levic00l
-

バゥムクゥヘン・エンドロゥル / 雨良 feat.初音ミクVS重音テトVS亞北ネル(Baumkuchen End Credits / Amala ft.Miku vs Teto vs N… remix
by rua4696
-

Retro Numberblocks Clicker!
by numberblock0530
-

Angry birds star wars WIP DEMO
by ProjectMaker25
-

make your own BFB remix remix-5
by takumatakuma
-

FNF - Imposter [V3] (remake)
by Suspicious_Crewmate
-

Antque Electric Fan
by inarutoks22
-

Just Geometry and Music (Jsab Just shapes and beats) (1) (1)
by Imposterx88
-

(AU) Rede Globo Yoshi's Island Entrando no ar 2014-21
by Mariofans1981
-

Make your own BFDI! remix
by epicfanduck2
-

Interactive Endless Letters (Uppercase) remix-2
by JaydenGamerzTube
-

Blue Bunny Ragdoll
by BlueBunny_PinkBunny
-

ロマンスカーgseシミュレーター
by hiro_mingle101
-

Digital clock
by it-alex-os