ScratchData LogoScratchData
Back to mikeyaboy's profile

ray tracing intersection simulation

MImikeyaboy•Created July 15, 2022
ray tracing intersection simulation
8
4
66 views
View on Scratch

Instructions

you can drag everything in the scene. this is a ray tracing simulation that shows how computers calculate ray-sphere interactions using purely math. no collision detection used here.

Description

i've already created a sphere ray marcher renderer in python (because i thought all ray tracing worked like that) but it was too slow. i did some research and found the best way to detect collision. this video taught me everything https://www.youtube.com/watch?v=HFPlKQGChpE

Project Details

Project ID714528823
CreatedJuly 15, 2022
Last ModifiedAugust 26, 2022
SharedJuly 16, 2022
Visibilityvisible
CommentsAllowed