Description
Ray Tracing in One Weekend is a free series of books that teaches you to write your own ray tracer from scratch. It grew out of the author's graphics course notes and is meant to get you to a working program quickly. In the first book you build a simple brute-force path tracer; the second, Ray Tracing: The Next Week, adds textures, volumes such as fog, rectangles, instances, lights and support for many objects; the series continues from there. The result is not a full-featured renderer, but it includes indirect lighting and an architecture that can be extended. The books are read online, formatted so you can print them or save them as PDF from your browser, and are released under the CC0 license, about as close to public domain as possible. Source code is on GitHub, where readers can file issues and contribute.…
Highlights
- Step-by-step guide to building a path tracer
- Multiple books, from basics to textures, fog and lights
- Read online, print or save as PDF
- Released under the CC0 license
- Source code and issue tracker on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate Raytracing.
People also visit
Raytracing FAQ
What is this series about?
It teaches you to write a ray tracer, technically a general path tracer, starting from nothing and building up to textures, volumes and lights.
Are the books free?
Yes. They are free to read online and released under the CC0 license.
Can I get a PDF?
The books are formatted for printing from your browser, and most browsers let you save them as PDF.
Where is the source code?
In the RayTracing/raytracing.github.io repository on GitHub, which also hosts issues and contribution guidelines.
What are the best Raytracing alternatives?
Popular alternatives to Raytracing include Bevy Cheatbook, Free Programming Books and Crafting Interpreters. See all Raytracing alternatives





