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

talking baby hippo outfit7

by TIGGYANN1970

Project thumbnail
View Project

Endless Numbers band 2

by splashyideas

Project thumbnail
View Project

Untitled-4

by tardia

Project thumbnail
View Project

Beat up Spectrum DLC Remestead loud noises remix

by bandrock238

Project thumbnail
View Project

Beat Up splaaTT WITH MORE BUTTONS!

by tiguy2

Project thumbnail
View Project

CENTURIONS COMING SOON IN FC MOBILE

by MrLee-codingGENIUS

Project thumbnail
View Project

MYO: Disventure Camp Total Drama

by StylishOlivia

Project thumbnail
View Project

Scratch4.0

by Nishikobito

Project thumbnail
View Project

beat up classic caillou (ENTERTAINMENT PURPOSES ONLY) remix

by miteduca

Project thumbnail
View Project

Incredibox - Sprunki 2.5 Update (Wenda Treatment)

by Champ_the_Goat

Project thumbnail
View Project

Turrican II v1.3b

by griffpatch

Project thumbnail
View Project

SVG Importer v1.1

by griffpatch

Project thumbnail
View Project

Fidget Spinner Pro 2 - REMIX to save progress! remix

by edenj97

Project thumbnail
View Project

Former v12.50

by Ulvdiaz

Project thumbnail
View Project

Super Angry Birds 2

by RoyalCHARLIE

Project thumbnail
View Project

ガスターブラスター 素材

by exhisa

Project thumbnail
View Project

Beat up purple ball (7)

by Tringloplop928392

Project thumbnail
View Project

(Cancelled) VHS Sans - Animated OST (Collab with @srconroy)

by monkey_noises09

Project thumbnail
View Project

My AABBCC Jumpstart Letters

by KHOSKoopa

Project thumbnail
View Project

ハマくんのプリウス(ダウンフォース付き)でおでかけしましょ

by IMPREZAkun

Project thumbnail
View Project

Snow Day - Holiday/Winter Special #All #Games #Trending

by thelildude-12

Project thumbnail
View Project

BTGU Abkhaz Letters

by brandon90684

Project thumbnail
View Project

Give me an OC and i'll make it as a beat up X button! remix remix-5

by ChermayeffTesting

Project thumbnail
View Project

Barney error 4 evolution edition (0)

by JackL2027