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
                    Beat up Chikn (added instant and all) remix remix
by jayjayy1809
                    New Super Mario Bros 3 Demo (Unfinished)
by CrazyPiano7
                    the full RALR cast! remix-3 remix-7 remix remix remix
by cholley123
                    Scratch Arabic Alphabet Song rafakadafi Version
by rafakadafi
                    3d Graphing calculator 100% pen
by bsteichman
                    Take out your anger on Viacom remix
by Lestat1025
                    Nubby's number factory: Night Shift
by ashleythetrans123
                    Paper Minecraft v11.7 (Minecraft 3D)
by hareem-
                    S!Insanity Sans Sprites
by BossHim
                    FORSAKEN[UPD 3.18!]
by ASquishyThing
                    sprunkio! the game! UPDATE 3
by emars2024
                    100k(YouTube)
by its-me-cat
                    Add a button to Beat Up Bimooo! (3)
by PushUpLizard
                    Tour of the Haunted Mansion Holiday
by CaptainGingertPC
                    Destroy Scratch Cat! HACKED
by potato342343
                    beat up scratch cat V1.6 remix
by Vad2014
                    Saturday Night Scratchin'
by IKyro
                    Current Time
by syauqi101010
                    Deltarune engine (BLANK)
by tripoid
                    RNG(본편)
by Lokav-
                    SCP-049 Simulator Chapter 2
by 123lama1231
                    squid game Honey-Comb Challenge
by BMHgames
                    The Railways Of Crotoonia: The Movie: Blu-ray DVD Menu
by Bearvrick
                    Calculator
by Ball-ance