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 a remix
by dylanpociusg
(LucasDavid1234 archive) Angry Birds Rio Menu
by laiqualasse
Burst Engine V3.3
by sonic_mania_67
Touhou Ripoff
by llamanose1000
The Marvel Studios Network Movie DVD Menu
by fletchernash
青の塔10階
by sakaryuu
青の塔11階
by sakaryuu
Beat Up Minions Pig (M) (MechanicZ)
by janzen09
[WIP | Not Done]App Engine
by wgyt
vertical stretch
by WeirdBoi12408
B-Ttale espe fight!
by bouningen-kun
オンラインプラットフォーマー 1
by masaki07070719
e4 early colision test (wallride mechanic devellopement)
by pheedee
Plants vs Zombies Garden Warfare 2
by BiscuitSword765
逃走中‼︎ ver 1.5
by kazukun1002
-椅子鳥GAME- 第参獣話「終幕」
by mikorin
endless reader
by NumberMaster999
15 minute timer
by UpSiDeDoWnToMaTo
Fossil! / 化石!
by daihiro1031
Beat Up Lollipop :( remix
by Loganator522
どこよりも性能高め!斜行エレベーター 1-999
by pocketedu-038
Beat up Edward 6! Do not
by scratchcatsonic
Undertale Last Breath Phase 3 // Remake
by MRSCRATCHERCREATES45
Beat Up Mario 3
by ptv_23