ScratchData LogoScratchData
Back to _RageMage_'s profile

cube raytracing

_R_RageMage_•Created April 11, 2021
cube raytracing
1
2
22 views
View on Scratch

Instructions

WASD to move around, space/click to move up and down. Movement does not adapt to your camera position. Arrow keys to change camera angle.

Description

sends a bunch of rays at different angles and see if they collide with a cube. I don't know how to optimize it. Apparently you can do fancy calculations regarding render distance and use cone rays to optimize or something... I really don't know. Too lazy.

Project Details

Project ID513893238
CreatedApril 11, 2021
Last ModifiedApril 11, 2021
SharedApril 11, 2021
Visibilityvisible
CommentsAllowed