Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch!

It’s easier than you think. In just a couple of weeks, build a ray tracer that renders beautiful scenes with shadows, reflections, brilliant refraction effects, and subjects composed of various graphics primitives: spheres, cubes, cylinders, triangles, and more. With each chapter, implement another piece of the puzzle and move the renderer that much further forward. Do all of this in whichever language and environment you prefer, and do it entirely test-first, so you know it’s correct.

Recharge yourself with this project’s immense potential for personal exploration, experimentation, and discovery.

This video was rendered using the ray tracer described in the book!

Available at these fine online booksellers

Peek inside: a sampling of pages from the book

Extensive tests in Gherkin

Algorithms in pseudocode

Concepts clearly explained

Hand illustrated

Purchase the paperback or get the PDF

You’ll be able to render scenes with...

Transformed surfaces