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 Nano
by everton_trader
Random Number Generator
by Chuck72
spiffy.exe buttons FAIRL BUTTONS ^678768
by coopstar_white3
Beat up e-mail! remix
by SamiSamantaG
Beat Up Garfield v1.090 remix remix
by parkerg3693
Talking Tom Cat
by ajkosmgjl390
Tug of War (1.1.0)
by TheScuto
jolly 2 r cast
by ALdinonerd
AquaV's Sandbox
by Aquaveeru
Meow House (Official)
by Gamer_peps_meow
Getting Over It
by TheMiniKid
スーパーブラザーズ 2/super bros 2
by RENproject
AY in Paint Attack! [ Remix 16 | 36 Players ] (Marckrack Edition) remix remix
by Hihgirg
all (blue master v2) remix remix remix copy
by polterpickle
red
by youvalz
ANIMATION (SHOWTIME)
by Diegomtz16
endless greek WIP
by endlessendlessevry
The backrooms #games #3D #Backrooms
by spiderfortnite
Beat Up Shadow V5.0 remix
by muttonsp618
drifting simulator 5
by surlo_gamez
SE ACABÓ LA GUERRA DE CONSOLAS!!
by emisariox
Dust sans simulator (Discontinued(Maybe??))
by bendy75789
beat up football player!
by Traw2016
Pango wave gif
by uboytan