Physically based rendering : from theory to implementation Physically Based Rendering 2nd Edition describes both the mathematical theory behind a modern photorealistic rendering system as well as its practical implementation. A method known as literate programming combines human readable documentation and source code into a single reference that is specifically designed to aid comprehension. The result is a stunning achievement in graphics education. Through the ideas and software in this book you will learn to design and employ a full featured rendering system for creating stunning imagery. New sections on subsurface scattering Metropolis light transport precomputed light transport multispectral rendering and much more. Includes a companion site complete with source code for the rendering system described in the book with support for Windows OS X and Linux Geometry and transformations Shapes Primitives and intersection acceleration Color and radiometry Camera models Sampling and reconstruction Reflection models Materials Texture Volume scattering Light sources Monte Carlo integration I : basic concepts Monte Carlo integration II: improving efficiency Light transport I: Surface reflection Light transport II: volume rendering Light transport III: Precomputed light transport Retrospective and the future