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 Sonic ExtremeCore Editon Super Many New Button remix remix

by bonzi346

Project thumbnail
View Project

Pac-Man Advanced+ Demo (Added Kinzo)

by Ghostfan2425

Project thumbnail
View Project

Incredibox - Sprun

by acethebest55

Project thumbnail
View Project

Beat up RED VIACOM V2.1 remix

by doheodjeoud

Project thumbnail
View Project

Beat up help masha but something is just a bit right

by cranchee22

Project thumbnail
View Project

FNF in lazy town Test

by oscarbertolotti

Project thumbnail
View Project

bfdia Contestant Generating Game

by impossible-quiz-man

Project thumbnail
View Project

Alphabet Lore but the word is Wonderful

by SillyGooseReturns

Project thumbnail
View Project

Beat Up Beta 2.0 Cat [1]

by Traw2016

Project thumbnail
View Project

Windows 10 Crazy Error Maker 14

by Yuuya20061202

Project thumbnail
View Project

Remix and Redesign Polsat Play's Kids Live TV Channels Section

by LogoEditorFan

Project thumbnail
View Project

Numberblocks - 23 Times Table remix

by heitorhenrique2712k

Project thumbnail
View Project

Incredibox Chalo Sahatee || The Unreleased V6

by Overcooked_Lemonade

Project thumbnail
View Project

Velociraptor Vector

by MrRimanL2023

Project thumbnail
View Project

The Mine Song but what is this remix

by safetystephen

Project thumbnail
View Project

Scratch cat gets grounded

by Pepsidude888

Project thumbnail
View Project

tamagotchi DVD Menu crossover

by johnnytest67

Project thumbnail
View Project

The Studio Door of Numbers X [ 72 Doors ]

by Rhythmheaven10

Project thumbnail
View Project

Snake game II #All #Games

by amazingQ

Project thumbnail
View Project

〈初コラボ作品〉プラットフォーマー Platformer

by ymt2

Project thumbnail
View Project

Intro for IPPON | Entry

by -polygon

Project thumbnail
View Project

戦闘画面改造コンテスト(by skyinksans)RYUKYUVANIA

by skyinksans

Project thumbnail
View Project

The alphabet lore Game

by KingJulian0222

Project thumbnail
View Project

BFDI/BFDIA/IDFB/BFB/TPOT Contestant Generating Game remix-2

by nbwietetye