February 2019
Intermediate to advanced
292 pages
6h 55m
English
Awesomesauce! You’re about to take the foundation of matrix operations you implemented in the previous chapter and start doing some practical things, like transformations, which your ray tracer will (eventually) use to move and deform objects. Consider the following scene.

Your ray tracer won’t be able to render those reflections until Chapter 11, Reflection and Refraction, but the scene itself is not really too complicated—a few colored spheres, some checkered planes. The relevant bit here, though, is how each of those spheres is sized and positioned. Without transformations, you’d have to explicitly describe ...
Read now
Unlock full access