3 ms·
If one knows C++ then Peter Shirley's https://raytracing.github.io/books/RayTracingInOneWeekend.html https://raytracing.github.io/books/RayTracingInOneWeekend.h
by fsloth 4y ago
If one knows C++ then Peter Shirley's https://raytracing.github.io/books/RayTracingInOneWeekend.html https://raytracing.github.io/books/RayTracingInOneWeekend.ht... is a pretty nice raytracer one can type in any language.
- dagw 4y agoCan anyone out there compare this to The Ray Tracer Challenge (https://pragprog.com/titles/jbtracer/the-ray-tracer-challenge/ https://pragprog.com/titles/jbtracer/the-ray-tracer-challeng...) which has also been mentioned in this thread. They seem to be trying to do very similar things, and it would be interesting to hear how the differ and their pros and cons
- max_ 4y agoRay Tracing in One Weekend: - Is in C++ - Focuses on spheres [1]Raytracer Challenge: - Is Written in pseudocode - You will be able to render objects composed of polygons not just spheres [1] https://www.youtube.com/watch?v=MFjmpjPwFEM https://www.youtube.com/watch?v=MFjmpjPwFEM