February 2019
Intermediate to advanced
292 pages
6h 55m
English
Your ray tracer is really coming together now. Planes and spheres, shading, ray-traced shadows—yeah, seriously. This is some lovely stuff.
It gets even better, though! In this next chapter, you’re going to add yet more lickable eye candy in the form of patterns, like this:

Yeah! Instead of rendering an entire shape with the same boring color, you’re going to implement geometric rules that define how any given point in space ought to be colored. We’ll cover four of these patterns: stripes, gradients, rings, and checkers. Then you’ll be set loose to experiment and invent a few of your own!
Here we go.
Read now
Unlock full access