3D Ray Marching (simple shapes)
by Kouzone
Description
Raymarching references: https://youtu.be/Cp5WWtMoeKg (explanation) https://youtu.be/PGtv-dBi2wE (tutorials) https://youtu.be/Ff0jJyyiVyw (shapes) Unrealistic penumbra-shadowing reference: https://www.iquilezles.org/www/articles/rmshadows/rmshadows.htm SDF functions of shapes reference: https://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm Reflected ray calculation reference: http://paulbourke.net/geometry/reflected/ The rest was built from scratch for Scratch. 7-Mar-2020: Applied new rendering features from Kouzerumatsu's remix (bugfix, fresnel reflectance, out-of-focus diffusion, hq) and added new shapes: octahedron and sphere arc. ray marching marcher tracer tracing 3d math
Instructions
Hit the green flag or [space] to show parameters. Press [space] key or green flag again or tap on the middle of the screen to start rendering. This is computationally expensive, and run it with turbo mode. See Inside > Edit tab > Turn turbo mode on or just [hold shift] + [green flag click] Render time of full-resolution by multiplying render time of resolution divisor 16 by 256, approximation. It took 40 seconds for me, which means it would take ~10240 seconds to render it with full resolution. Run it with forkphorus, if you have no patience: https://forkphorus.github.io/#372144443
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
Use the guest bathroom please #animation
by TylerBlu2103
[TSDoN-9 | 1023] ⭑★- ȶɦɛ ֆȶʊɖɨօ ɖօօʀֆ օʄ ռʊʍɮɛʀֆ ‣ քǟʀȶ 9 -★⭑
by NovaShrugs926Rises
Scratch Cat Saw Game remix remix
by blakecool78
KocyigitOS RGB | 1.6 Milky Way build 26 / Bliss 1
by kocyigit2011
Bop It! SMASH (unfinished)
by yeetisfeetis3
Fredbear and Springbonnie react to dreamy snaps
by Blu3T4ils
Scratch 4.0
by Here_is_KAW
Black hole (8)
by Enzo_2402
[3D-❒] DAYTONA USA 3D
by GL00B
Not renpond The Windows 11 Kill Srceen
by Sebas-HC
Chez is dead
by -Dabigchez-
AY in Mr fun computer drop!
by sprunkibutralr
The mine song but it can restart at anytime
by -_rarehoola_-
The Happiest Maze in the World
by RokCoder
Fidget Toys BETA
by Roblox_And_Minecraft
Super Mario Bros. 3 Music all 8 worlds + warp zone
by DagrPiggy
rainbow crazy farting cat
by isadacsinc
Talking Tom and Ben News HD
by Cat6780
Beat up Sid phillip!
by Traw2016
[Abandoned] Teleporting Rooms
by chergsha
Plants VS Zombies|Regrown
by joe_washere7
My talking Tom 2 (fix)
by catlolpop8883
Klasky Csupo Splaat Logo is Super Duper Low Pitched remix
by Pumba2015
Beat up Nano (remixed too much!)
by Tyler-Time