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

Braden’s Serbian Alphabet Lore (MV) Interactive remix

by hoopsandyoyoFan34

Project thumbnail
View Project

baby tv sparta remix remix

by PlanetCocukYediYasve

Project thumbnail
View Project

Sonic Ex: S1 E1

by TehGoat2

Project thumbnail
View Project

talking sky

by davi150417

Project thumbnail
View Project

Numbericons 1-1200

by jayden2015paul

Project thumbnail
View Project

Fidget Spinner Tycoon

by Skull_Troopr

Project thumbnail
View Project

Beat Up Squidward! 1.9

by tehbadprojekter1529

Project thumbnail
View Project

Numbers 1 to 1,000,000 with Beebzz Font

by IAMBACK__

Project thumbnail
View Project

Wither Storm Simulator Beta Testing

by w3165t

Project thumbnail
View Project

Beat Up the Scratch Cat! (Slice, Jonathan & Speeder, and Cut scratch Cat infomation added) remix-3

by michaelkenbernaldez

Project thumbnail
View Project

Five Little Pumpkins

by teacherandmom

Project thumbnail
View Project

fidget spinner {press space }

by simon113781

Project thumbnail
View Project

Merrie Melodies (1938-1940s) Opening & Extro Remake

by Boris_Dunwoody

Project thumbnail
View Project

❶+❷=❸ | TᕼE ᔕTᑌᗪIO ᗪOOᖇᔕ Oᖴ ᑎᑌᗰᗷEᖇᔕ - ᑭᗩᖇT ❺ - 410 ᗪOOᖇᔕ | ❹=❺+❻

by Twin138956Scratch

Project thumbnail
View Project

Windows 10 Simulator 25 100000000

by superhappysqurl

Project thumbnail
View Project

[Car Dealers 22] v0.6.3 Alpha - [New Update - 12/20/2024]

by S-S_Productions

Project thumbnail
View Project

Hangman - 100% Pen

by _THE-ONE-AND-ONLY_

Project thumbnail
View Project

SPMY Chara x Sans Fight のようなナイフ

by Heartfulisland13-jp

Project thumbnail
View Project

New character for beat up games

by tatatino150

Project thumbnail
View Project

Geometry Dash Wave Spam

by andyvanos

Project thumbnail
View Project

-<[{(Collabs)}]>-talking tom and ben news remix remix-3 copy

by LiamRoneyVideos

Project thumbnail
View Project

Beat Up Nano DLC

by juliescott12

Project thumbnail
View Project

Klasky Csupo Feels Dizzy

by juliescott12

Project thumbnail
View Project

Beat Up gus

by everton_trader