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

beat up scratch 2.0 remix

by sebaspa13

Project thumbnail
View Project

Beat up Seven DLC his luck in easter sunday remix-2 remix remix

by bonzi346

Project thumbnail
View Project

Beat up sonic mario evil p head and others remix remix remix remix

by kubakoodziejczak

Project thumbnail
View Project

Hurricane Season Simulator | v1.6.3 [HSS2 IN DEV]

by s20038627

Project thumbnail
View Project

津波警報の音 ジェネレーター

by kotoho

Project thumbnail
View Project

beat up mr dweller but it's low quality v9

by REKT_DDDDDDDDD

Project thumbnail
View Project

Big Project

by MEMESBRO

Project thumbnail
View Project

Beat Up Sonic Again (1)

by neremo953

Project thumbnail
View Project

Beat Up Bandu (pls dont)

by BanduYT_Real

Project thumbnail
View Project

Beat up MINIONS PIG M (GIGANIC) remix

by CLAX1212

Project thumbnail
View Project

Remix this project and add yourself dancing! :)

by Lightningboy10108

Project thumbnail
View Project

Beat up Red & Blue Scratch Cat remix

by dariusgamer123

Project thumbnail
View Project

R N' B (Rhythm Game) | | #Games #All

by 123456progamer

Project thumbnail
View Project

Spiffy Pictures Button m

by BeiMLGGod

Project thumbnail
View Project

Beat Up Evil Scratch Cat! (Ver 1.03) remix-2

by xmrrileyxx

Project thumbnail
View Project

Beat Up Scratch Cat 2.0 | #beat #up #2.0 #scratch #cat #all #games #caseoh

by zeroagite_scratch

Project thumbnail
View Project

Spiffy Pictures.EXE Form CBD

by XBOX754

Project thumbnail
View Project

Speedrun Platformer - A Scratch competition for all Scratchers!

by alexandretherrien

Project thumbnail
View Project

Beat up które

by Olek32167xv

Project thumbnail
View Project

add a button to beat up me! D: [8]

by zzhhooookk

Project thumbnail
View Project

ROBLOX The Movie (2017 DVD UK)

by BattleForDreamAgain

Project thumbnail
View Project

Chuck E. Cheese's: Pizza Time Horror

by LegendaryMaker2010

Project thumbnail
View Project

Deltarune Battle Simulator V3

by Scube3000

Project thumbnail
View Project

Psycho Teddy | MEME (FLASH)

by RyRylizzy