February 2019
Intermediate to advanced
292 pages
6h 55m
English
Think about this for a second. You’ve written a program from scratch, with tests, that draws a three-dimensional object by simulating the behavior of light. That’s awesome.
And it’s still only the beginning! More complex scenes are just around the corner. By the end of this chapter you’ll be creating worlds with multiple objects and using a virtual camera to capture views of those objects from different viewpoints. Just a few more pages and you’ll be rendering images like those in Pierre’s gallery, here:

To get there, you’ll first implement a world—a collection of all objects in a scene—as well as routines for intersecting ...
Read now
Unlock full access