ScratchData LogoScratchData
Back to CasTur's profile

Ray tracer WIP

CACasTur•Created June 29, 2022
Ray tracer WIP
64
48
1045 views
View on Scratch

Instructions

Greetings, Scratchers This is a ray tracer! Just set the parameters, then watch it render a (somewhat) realistic image of some spheres. You can also change the position, size, and materials of the spheres if you go inside the project. Feel free to experiment! If you want to render a higher quality image and keep what's left of your sanity, use turbowarp: https://turbowarp.org/710188449?turbo So far it supports anti-aliasing through multisampling, materials (lambertian and metal), gamma 2 correction, and... other stuff. This implementation is highly questionable and horribly unoptimised, but hey, at least it works. #ray #madness

Description

Based on "Ray Tracing in One Weekend": https://raytracing.github.io/books/RayTracingInOneWeekend.html For more info on ray tracing: https://en.wikipedia.org/wiki/Ray_tracing_(graphics)

Project Details

Project ID710188449
CreatedJune 29, 2022
Last ModifiedSeptember 26, 2022
SharedJuly 1, 2022
Visibilityvisible
CommentsAllowed