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
Planet Clicker | #games
by -SimpleStudios--
Paper catcraft v8.95(catcraft 2d)
by Destroyred89
Numberblocks Band Retro 101-110
by BestKidsEver_Jax
◈Pixel Designer v4.0.5◈
by JANGO-n-BoBa7567
GPU BURNER
by minhquamgbill_alt
ボールバトル! ball battle!
by koko142857
Goofy Green Screen
by Scratch-Minion
UPGRADES
by oilamans
Roblox 3D Online v0.3
by TheGoodGuy8000
Playkids band 180
by ScratchMited34
Super Scratch Bros. Scrultimate v0.1.1
by Bob-Omb2
( 1st ) Entry - TheTurtleOfTest
by CitrinN
烈・最終鬼畜ボールころころ
by gaia-ru
第一回scratch逃走中【宇宙からの侵入者】Part3
by syunku
ビル経営ゲーム v8.0 [Beta]
by Masaabu-YT
color war 色の戦争 1.2.0
by skshs
Super Mario Bros. v1.0.1
by justinhsu311
FNF - Termination
by Laggy_Pc_-REMIX-
Super Scratch Bros 4.1?
by BananaMan4321Yea
株トレードオンライン
by Jinenjo_000
カブクワ大戦争 完全版
by UOVJ
Wolves || WoF Map- Complete
by QueenGlory22
東方三日月夜 〜 Lost myself
by Tokoyo_mituki
[UPDATE] FNF - Starlight Mayhem
by frostzzone