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 Kinemaster emoji
by coopstar_white3
Beat Up Windows XP
by coopstar_white3
Hickory Dickory Dock Elephant
by alfche1262
the scratch 3.0 show episode one: the egg but shin sonic
by ibby1313
Characterization Starter Project 3 remix
by cs328890
Arcipreste de Hita
by Jorgeithor
Beat up Sonic (Reupload)
by newmyles
BEAT UP ED!! fixed remix-3 remix
by andpsaid
SPRUNKI BANANA PORRIDGE remix
by Aoaoaoooon
EA FC25 Ultimate Team - (Alpha v2)
by reubenharley
MR. A.
by wii
Super Scratch Bros Beta 4.0
by Hobson-TV
スザンヌが目で追う。
by KimiruHamiru
fidget spinner clicker
by moultinator
Type! A Typing Game
by EggDOG_MyNAME--Jeff
Beat Up Red Beta v2.3
by kbhg1234
If ALL BFDI Characters were on BFB Teams (Remastered, with 200 Contestants in total!)
by WoodyMikuandSaraSnap
Logo Plasters: Peep and the Big Wide World (Canada)
by minecraftjt1018
Nomophobia And Kalampokiphobia
by Riarria2550
RPG v0.10.21
by Its_da_yy
Windows 7 Error maker
by goat_40435
Ǯlapian artistic Alphabet remix-2
by Royalser
Angry Birds Lite
by Bob-Friend
Ukrainian Alphabet Lore I added some sprites
by Sonya_YStilton2009