RayTracing / raytracing.github.io

Main Web Site (Online Books)
https://raytracing.github.io/
Creative Commons Zero v1.0 Universal
8.75k stars 859 forks source link

Sanity pass for code blocks. #14

Closed hollasch closed 5 years ago

hollasch commented 5 years ago
trevordblack commented 5 years ago

For instances of "float" and "double" and other types in the text, do we want them to be inlined, i.e. floats and doubles.

hollasch commented 5 years ago

I tend to use “single precision” and “double precision”, or “32-bit floats” and “64-bit floats” in prose unless I'm talking specifically about the types. If the types are important, then yeah, generally I try to mark them up as code: float/double. I'm not super strict on this, as sometimes my prose looks like a clown car of type changes, so sometimes I'll drop the inline code style just so the text reads easier (not usually).

So generally, use code styling, but with an escape hatch when you need it.

lorihollasch commented 5 years ago

Book 1

Chapter 2

Chapter 3

Chapter 5

Chapter 6

Chapter 7

Chapter 8

Chapter 9

Chapter 10

Chapter 11

lorihollasch commented 5 years ago

Book 2:

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 6 Rectangles and Lights

Chapter 7 Instances

Chapter 8 Volumes

Chapter 9 A Scene Testing All New Features

lorihollasch commented 5 years ago

Book 3

Chapter 2 (Monte Carlo)

Chapter 3 (1D MC Integration)

Chapter 6 (Importance Sampling Materials):

Chapter 7 (Generating Random Directions)

Chapter 8 (Ortho-normal Bases)

Chapter 9 (Sampling Lights Directly)

Chapter 10 (Mixture Densities)

Chapter 12 (Cleaning Up pdf Management)