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
-

beat up evilbross dlc (V3.5)
by zzhhooookk
-

Bop It Extreme 2 Mini (Talking Button Edition!)
by Bopitman2
-

Super Mario: The ABC Song from ABC No Utau Video! remix-2 remix
by Seankalnizki
-

Numberblocks - Intro (Jay Jay and Friends)
by cuzuco20Years
-

AY in the Moving Mine Redux! [Fun Show Party]
by russellhtf
-

Beat up Numberblock game us again remix
by elevatorkoneecodise
-

Beat up Sonic (Reupload)
by newmyles
-

Peep and The Big Wide World Week upcoming! remix
by 123456789fdisk
-

Preview 2 Scratch Cat In Chorded but no il vocodex audio and faster ms. pac-man
by guarner2024
-

[010.] ❛❛тнє ƒαℓℓєη νι¢тσяѕ.❜❜ a s uc donated/parented litter
by _diamondheart_
-

Beat Up baolanvui (for paying bills on a single dream.) (2 Buttons) remix
by goldlimeblack
-

Talking Oren
by sprunkibrud2763
-

AY in Paint Attack Redux [Remix 13.51 | 30 Players ]
by Lau_luis_Mii_124
-

For You, Someday. FNF Test But With Arrows
by KingerFromTadc57
-

Numberblocks Generator 2 (V1.2.4)
by leobralberto
-

Platformer Ideas
by 262015_Test
-

[KeyGen/ChipTune Vol.4] AGGRESSiON - Easy DVD Creator KeyGen (LHS - AGGRESSiON keygen #2) by LHS/DFS
by CreeperFan75000
-

Griffpatch's Maze Generation
by Ante603
-

Numberblocks Band Retro 191-200 (Band Version)
by Trioctoblock24
-

Beat Up Evilbross Fixed Remix 1!
by christywifi
-

Como usar/fazer um Joystick!
by Vitou_
-

Beat Up Book With "all" button
by leahcim20
-

IR Entity Sandbox but more accurate
by AC_School_Account1
-

tvn ident z sześcianem
by kurbanek4234