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
Beat Up Sonic ExtremeCore Editon Super Many New Button remix remix
by bonzi346
Pac-Man Advanced+ Demo (Added Kinzo)
by Ghostfan2425
Incredibox - Sprun
by acethebest55
Beat up RED VIACOM V2.1 remix
by doheodjeoud
Beat up help masha but something is just a bit right
by cranchee22
FNF in lazy town Test
by oscarbertolotti
bfdia Contestant Generating Game
by impossible-quiz-man
Alphabet Lore but the word is Wonderful
by SillyGooseReturns
Beat Up Beta 2.0 Cat [1]
by Traw2016
Windows 10 Crazy Error Maker 14
by Yuuya20061202
Remix and Redesign Polsat Play's Kids Live TV Channels Section
by LogoEditorFan
Numberblocks - 23 Times Table remix
by heitorhenrique2712k
Incredibox Chalo Sahatee || The Unreleased V6
by Overcooked_Lemonade
Velociraptor Vector
by MrRimanL2023
The Mine Song but what is this remix
by safetystephen
Scratch cat gets grounded
by Pepsidude888
tamagotchi DVD Menu crossover
by johnnytest67
The Studio Door of Numbers X [ 72 Doors ]
by Rhythmheaven10
Snake game II #All #Games
by amazingQ
〈初コラボ作品〉プラットフォーマー Platformer
by ymt2
Intro for IPPON | Entry
by -polygon
戦闘画面改造コンテスト(by skyinksans)RYUKYUVANIA
by skyinksans
The alphabet lore Game
by KingJulian0222
BFDI/BFDIA/IDFB/BFB/TPOT Contestant Generating Game remix-2
by nbwietetye