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
totally realistic reactor
by FreakoutMeter
Windows Scratch (How Original)
by 54325
game for cuddles
by sam02h
Tilepgrade! [552]
by TGGGRC
FNF' Due Debts: 2HOT BF Mix
by PeelZy22
The Nickelodeon Creatures Show!: NYE Celebration 2026 - Netflix Family but accurate - numbers
by dkBay
KLASKY ERROR RETAKE
by carternh
Alphabet Lore but the word is “MOXIE” Instead of “FRIENDS”
by le_bacteria_alt
Super Phantom Cat HD remix remix remix
by Gkb_Sonic_HD
talking tom and ben news 3 remix remix remix-2 remix
by doddwell
イニクロの直感アニメ #111 - かき氷(塩)
by 1296-cat
Beat Up Bonzi Buddy! remix remix remix
by everton123E
37 new skins 2 player games
by harrisISPro
KyleWare: Ultimate Microgames! 2.0a
by himng0801
Beat Up Ernie Fitzpatrick
by whipnm
Triple Trouble eggman part
by Metal_Sonic_Games
Terraria v1.0 Crimson Mod
by scratchfan99999
beat up numberblock 1 remix remix fixed
by adith05
史萊姆點擊遊戲 V 1.2.15 (停止更新)
by ZXC_ZXC
Planet clicker 2.0
by liaoep
アニメ「The WeakMan」| 第1話「日本ぶっ壊し計画」
by Pikurin
Mike Salcedo's Endless Alphabet Lore | Letter Q
by 78jcas322
Chrisky's Vowel Jumpstart Shidinn Band
by Marvellonathan
Hickory Dickory Dock... with a twist.
by samsdi45