3D Ray Marching (simple shapes)

3D Ray Marching (simple shapes)

by Kouzone

👁 2,749 ❤️ 212 ⭐ 170 🔄 6
Created: Feb 28, 2020 Last modified: Aug 3, 2021 Shared: Mar 2, 2020

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

Project thumbnail
View Project

Add a button to beat up Nano! 6

by gulkd2023

Project thumbnail
View Project

Vyond Effects Kit! (2024)

by JojosWorld32

Project thumbnail
View Project

画像ぼかし加工

by kencyan

Project thumbnail
View Project

Paper Minecraft CHEESE (Minecraft 2D) remix

by wigginstigers610

Project thumbnail
View Project

hardトロッコアドベンチャーでもいいじゃないの? remix (1) remix remix

by menou_smth

Project thumbnail
View Project

my beat up farooha

by pmz34

Project thumbnail
View Project

Artistic Alphabet (with Justov and THE ORIGINAL AUDIO.) remix

by giahan5g1

Project thumbnail
View Project

AY in Pyramid Rush! [Remix 19] [27 Players]

by duckdon1319

Project thumbnail
View Project

Interactive Spanish Alphabet Lore (With music) remix

by 29dhills

Project thumbnail
View Project

Appel animations: The Bird

by Hectorted2016

Project thumbnail
View Project

(AY) Roblox Obby [Remix: 0 | Characters: 3]

by Scratchguy7458

Project thumbnail
View Project

Add a button to Beat Up Bimooo! (1)

by Coder270416

Project thumbnail
View Project

Beat up Edward DLC Update

by Tyler-Time

Project thumbnail
View Project

Congratulations

by andresmh

Project thumbnail
View Project

Gamma Engine(Alpha Legacy)

by littlebunny06

Project thumbnail
View Project

Magic carpet journey

by tillie2

Project thumbnail
View Project

Ball shoot ver1.0.0

by 123shun3

Project thumbnail
View Project

FNF Test Playground 3

by Username32Guy

Project thumbnail
View Project

Go!Animate The Movie DVD Menu

by just-somethin

Project thumbnail
View Project

太鼓の達人創作譜面集

by himajin_scratch

Project thumbnail
View Project

FNF Phantasm But Jenny And Chaos Jenny (COMPLETED VERSION)

by Jenny_VR

Project thumbnail
View Project

天才てれびくんhelloキャラクター

by eieioojijing

Project thumbnail
View Project

Red Imposter test with vocals

by RandomGuyXD1

Project thumbnail
View Project

|| Entry || intro >>> @tugyo78 || #7 ||

by _MARUTO_