
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

Personal intro //Wolther happy new year!
by wolther

ZOMBIE SHOOTER!
by Musab2563

City Run
by ADD1082

Beat up Nano v.1.3
by Bunnyz_UwU_Alt

new new new new new new new new new supa mayrio bruh
by GaleemDharkon

Gorilla Tag! - Mods!
by TheDevPlox

Red Dead Redemption 2
by lion334

イカゲーム 最終ゲーム「隕石ゲーム」
by jum000

Beat up Sonic (1) 4remixs at once remix
by kubakoodziejczak

Geometry Dash - ship -
by bsmoa66

【フォロワー100人記念!】(鉄道実況第二弾!)箱根登山電車に乗ってきた!
by TRAIN2022

RUNAWAY - FNF Prey playable with My OC
by shadowmask1234

Color square
by fanger81

3d game maker
by DN_TheChicken123

Friday Night Funkin' Full Game V.1
by Alvaro_Games19

フォロワー50人! Platformer プラットフォーマー
by harugogo25

【マイクラMOD】ハート1(1.19ver.)
by horiyouta

Gas Station Simulator V1
by Daniboy_Studios

Geometry Dash Requiem
by iPhone_ATT_TWC115

Ultimate TD
by Frankclone

Uncannyblocks Band
by JustNumberVectors

Zombie: WOTD 2 - Advanced 1.0
by D2OS

The Luckiest Scratcher v1.0
by griffpatch

DramaVS ~ Custom FNF Song
by Infinity_Sans1