ScratchData LogoScratchData
Back to Howtomakeausername's profile

Full raytracer! (with reflections, textures, cube intersection and more) v1.1

HOHowtomakeausername•Created September 4, 2020
Full raytracer! (with reflections, textures, cube intersection and more) v1.1
252
220
3259 views
View on Scratch

Instructions

The resolution will start at 2, and then be divided by 2 for each render. You can still move with the WASDQE keys, but this will reset your resolution to your start res. Anyway, a full raytracer with multiple reflections, cube intersection, specular lighting, sphere textures, phong shading! This took quite a while but I finally finished it!

Description

See this - https://scratch.mit.edu/projects/417523534/ - for full credits, but credit to @geotale and @canthiar . Run this on https://turbowarp.org/#422631818?fps=1000 or https://forkphorus.github.io/#422631818 for much faster speeds, and actual good realtime movement! This is slow due to the amount of calculations it has to do for each pixel, but as forkphorus and turbowarp can run it faster it works fine. #ray #madness Other tags: #3d #textured #spheres #textures #realtime #full #raytracer #raytracing #raytrace #reflection #reflections

Project Details

Project ID422631818
CreatedSeptember 4, 2020
Last ModifiedMay 29, 2021
SharedSeptember 7, 2020
Visibilityvisible
CommentsAllowed