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
-

The Black Hole (Add Round 0) (Add Yourself) remix remix
by ScratcherFan130
-

beat up bonzi buddy (1)
by bonzi346
-

*IKEA "KUPONG" Alarm Clock remix-2
by Elevatorguy999999
-

Latios demo v3
by Gallade_X-treme
-

rolman numbers 1 to 4000
by Alexkalmi1232
-

Alphabet Band 1
by JujutsuYeti
-

Windows10リセット!
by kotareimu
-

Duofactorial Numberblocks Band REMASTERED - Epilogue
by Numberblockseditor
-

AYS Oh God No [Sonic Edition]
by smhicks90
-

Numberblocks Generator SUPER EXTENDED
by greg_2018
-

Interactive Sonic! 1.2
by Re_Igor2123
-

Mac OS 8
by mrchar1974
-

touching story part-1 ver1.1
by taNup0n
-

Samsung SGH-H675 Startup and Shutdown sound
by fatitoac
-

【モバイル対応】リズムゲーム「rhythm」
by 1STEP621
-

100days Paper Minecraft マイクラ100日ハードコア! v13.75(本家
by radaokun252525
-

UNDERTALE×MONSTERHUNTER VSジンオウガ【モンハン】
by IntegralHasshy
-

EASIEST GAME EVER
by XxgamerboyxX593
-

[WIP] beat up a generic stickman
by PatitoCafe
-

Intro || イントロ
by makiogawa
-

【スクリプト演奏】あんぜんフロンティア号 スプラ3 BGM
by sunnybluesky
-

Windows Error Maker [V1.6]
by Kal_ILikeWindows10
-

a rooms fan-game zoom call remix
by MandosCola
-

Numbers 1 to 1 quadrillion
by karthikchandra