
3D Ray Marching (simple shapes)
by Kouzone
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

Numberblocks Band Retro 301-310 (Each Sound)
by Trioctoblock24

Nickelodeon Creatures Spell Alexandru Vascautan remix
by siddharth1717

RALR - What's New? (часть 2) | ECAL Alt Prologue (I want Fix Mad Deh) remix
by Hunterlore

TurboWarpOS 1.0 | Beta 2.1 #OS #TurboWarpOS #TurboWarp_OS
by USER9646

Surviving the Sea
by charmanderember

Laberinto con instrucciones deslizar
by luiscarlosolarte

Beat Up Tiny Circle
by FNFcharactertests10

Mario V Sonic 3D
by atomicmagicnumber

The Mouseheadz Show: Isaac and Belle (Part Two)
by BenDMario

[undertale]Origin!Sans戦
by tomato_5-4

sussy school grounds
by 096_Aiden

Beat Up Fake Cheese Man
by Lholden2

Beat Up X Button
by crazycrazybaby17

Dash Valley - Mobile Friendly
by AnimationsScratch

Potato War PLUS! [v1.3.2]
by MrFreshStart

Beat Up Sonic Again (2023 Remastered) remix remix
by jacejim1809

AM timeblocks band round 1
by summerfair4

スーパーマリオブラザーズ
by master-bot

PacMan Delux
by Alaron

Beat Up Novisor 3 Remix 4
by Kaizo_Kolors3333

東方ロストワードver1.9
by toki4649

Sandbox v 0.03
by WinterNox

Survival in Among Us
by Mihapro0012

Punch-Out!! - The Definitive Project v1.3
by ZappyBarbecue10