3D Ray Marching (simple shapes)

3D Ray Marching (simple shapes)

by Kouzone

👁 2,749 ❤️ 212 ⭐ 170 🔄 6
Created: Feb 28, 2020 Last modified: Aug 3, 2021 Shared: Mar 2, 2020

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

Project thumbnail
View Project

talking tom and ben news HD remix remix

by craig0005

Project thumbnail
View Project

Uppercase Good Letters dancing to It Has To Be This Way

by Zachary13265

Project thumbnail
View Project

Plane Shooter #games #trending #all remix

by griffe94

Project thumbnail
View Project

Beat Up Bonnie Z

by imnotaxiibuss123

Project thumbnail
View Project

Beat up Edward But With even more buttons

by Traw2016

Project thumbnail
View Project

Beat Up Red Nano [1]

by asaiah90

Project thumbnail
View Project

ONE NIGHT FUN BEAR WARNING THERE IS JUMPSCARES

by coolcat91247

Project thumbnail
View Project

beat saber [work in progress] computer only newwwwwwwwwwwwwwwww updateeeeeee

by plzdonateroblox

Project thumbnail
View Project

add yourself running from the agreseve pickachu

by SoftToyDinosaur

Project thumbnail
View Project

Round 1

by MySharona73

Project thumbnail
View Project

☁️ Among Us Scratch v3.21 (online)

by TimMcCool

Project thumbnail
View Project

Candy Hunt A Multiplayer Scrolling Spookyformer #games#games#art#music#animations#stories#all

by Alolex1

Project thumbnail
View Project

✿ Icon Creator ✿

by SophIIsa

Project thumbnail
View Project

Murder Time Trio demo

by cold_food

Project thumbnail
View Project

Fidget Spinner game

by Marcoyapcoder

Project thumbnail
View Project

The World's Hardest Game Engine - Demo

by TJ_ProCode

Project thumbnail
View Project

beat up TV (object Fallout)

by BASE098

Project thumbnail
View Project

バネプラットフォーマー続編! モバイル対応 Sequel to Spring Platformer! mobile compatible

by KYJTN

Project thumbnail
View Project

3D First Person Game

by nikhilcrao

Project thumbnail
View Project

Uncannyblocks Band Different 1 Year Remastered Part 11 (201-220) [Great Return]

by PuffBarIs968

Project thumbnail
View Project

【拡散希望】☁オンライン定型文チャット

by KYOUba-mu

Project thumbnail
View Project

Beat Up Darwin

by AJthescratchmaker

Project thumbnail
View Project

Add A Button To Beat Up Edward V2 (3)

by AJthescratchmaker

Project thumbnail
View Project

Beat Up Apple (10)

by Tyler-Time