ScratchData LogoScratchData
Back to Howtomakeausername's profile

Raytracer with tri intersection!

HOHowtomakeausername•Created October 3, 2020
Raytracer with tri intersection!
80
65
974 views
View on Scratch

Instructions

-The resolution will start at 8, and then be divided by 2 for each render. -You can move with the WASDQE and ARROW keys. With this, we could import 3d models into raytracers :O. Supports a triangle between points x1, y1 ,z1 ,x2 ,y2 ,z2 ,x3 ,y3 ,z3.

Description

Use - https://turbowarp.org/#432089812 for faster speeds. Triangle intersection by @chooper-100 and the way to find the surface normal of a triangle from @scratch-minion. Credit to @geotale, for the original raytracing tutorial and @canthiar, for some of the pshere textures included in this project.

Project Details

Project ID432089812
CreatedOctober 3, 2020
Last ModifiedOctober 28, 2020
SharedOctober 3, 2020
Visibilityvisible
CommentsAllowed