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
-

What if: Samsung Galaxy silm (May 2012) remix
by eo2015
-

endless numbers band but i added 6-10
by zjulia_gamess2
-

Talking Tom & ben news HD wallpaper remix remix remix
by jace18099
-

Nightmare White Parry (A Numberblocks Basics 9 Charater That Did Not Appear In NBB9)
by Jason3424Maker-Newer
-

My MerCat and Friends Designs
by Nonny187
-

Beat Up Edward DLC Reimagined 9-10 Trailer
by TAHFalternate
-

Element maker v1.1
by 18font
-

PBS KIDS Painting: Dee plays Pacman
by NumberblockFaner303
-

Forsprunkin - [ WITH KEVIN ]
by renbronxcruz
-

Solar System Band 2 remix
by barbara019932017
-

AY In Don't Fall Off The Trampoline (Old 2022) (135 Players) [SPANISH EDITION]
by Basilioleo1120
-

Bfdi+ 7
by razorplayzor
-

om nom cut the rope
by REN10
-

Bomb Jack
by fifoniusz
-

Microsoft Windows 86 WorkGroups 日本語版 Ver.1.022 α版
by syu-k6437
-

talking tom and ben news remix super crasy
by CarlitosMilan
-

説明は省く敵だ,,,紅魔館組VS主人公 東方PV
by aisu-teo
-

Free to use buttons for beat up games (SMG4 and Dark pit update)
by peggraz51
-

Penultimate Chart Converter for AYS/SSS
by SpideyPlays_Test
-

scratch lab 2 (fire update)
by Tarratellis
-

Beat Up Need-Too ReReRevived v3.1
by jagr-cno
-

My New Buttons (4) remix
by KubaKo_328
-

Preview 2 Scratch Cat G-Major Effects Part 6
by gamerboy1228
-

yander sim (16+)
by adele_dele