Skip to content

Commit 664d707

Browse files
committed
Forgot to add the book changes to the commit
1 parent 2aff707 commit 664d707

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

books/RayTracingTheNextWeek.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@
16381638
<div class='together'>
16391639
I just grabbed a random earth map from the web -- any standard projection will do for our purposes.
16401640

1641-
![Image 14: earthmap.jpg](../images/earthmap.jpg class=pixel)
1641+
![Image 4: earthmap.jpg](../images/earthmap.jpg class=pixel)
16421642

16431643
</div>
16441644

@@ -1687,7 +1687,7 @@
16871687
Earth map photo. The program will look for the file in the same directory as the executable. Make
16881688
sure to copy the Earth into your build directory, or rewrite `earth()` to point somewhere else.
16891689

1690-
![Image 15: Earth-mapped sphere](../images/img-2.15-earth-sphere.png class=pixel)
1690+
![Image 5: Earth-mapped sphere](../images/img-2.05-earth-sphere.png class=pixel)
16911691

16921692

16931693

@@ -1697,11 +1697,11 @@
16971697
To get cool looking solid textures most people use some form of Perlin noise. These are named after
16981698
their inventor Ken Perlin. Perlin texture doesn’t return white noise like this:
16991699

1700-
![Image 4: White noise](../images/img-2.04-white-noise.jpg class=pixel)
1700+
![Image 6: White noise](../images/img-2.06-white-noise.jpg class=pixel)
17011701

17021702
Instead it returns something similar to blurred white noise:
17031703

1704-
![Image 5: White noise, blurred](../images/img-2.05-white-noise-blurred.jpg class=pixel)
1704+
![Image 7: White noise, blurred](../images/img-2.07-white-noise-blurred.jpg class=pixel)
17051705

17061706
</div>
17071707

@@ -1717,7 +1717,7 @@
17171717
We could just tile all of space with a 3D array of random numbers and use them in blocks. You get
17181718
something blocky where the repeating is clear:
17191719

1720-
![Image 6: Tiled random patterns](../images/img-2.06-tile-random.jpg class=pixel)
1720+
![Image 8: Tiled random patterns](../images/img-2.08-tile-random.jpg class=pixel)
17211721

17221722
</div>
17231723

@@ -1855,7 +1855,7 @@
18551855
<div class='together'>
18561856
Add the hashing does scramble as hoped:
18571857

1858-
![Image 7: Hashed random texture](../images/img-2.07-hash-random.png class=pixel)
1858+
![Image 9: Hashed random texture](../images/img-2.09-hash-random.png class=pixel)
18591859

18601860
</div>
18611861

@@ -1917,8 +1917,8 @@
19171917
<div class='together'>
19181918
And we get:
19191919

1920-
![Image 8: Perlin texture with trilinear interpolation
1921-
](../images/img-2.08-perlin-trilerp.png class=pixel)
1920+
![Image 10: Perlin texture with trilinear interpolation
1921+
](../images/img-2.10-perlin-trilerp.png class=pixel)
19221922

19231923
</div>
19241924

@@ -1956,8 +1956,8 @@
19561956
<div class='together'>
19571957
This gives a smoother looking image:
19581958

1959-
![Image 9: Perlin texture, trilinearly interpolated, smoothed
1960-
](../images/img-2.09-perlin-trilerp-smooth.png class=pixel)
1959+
![Image 11: Perlin texture, trilinearly interpolated, smoothed
1960+
](../images/img-2.11-perlin-trilerp-smooth.png class=pixel)
19611961

19621962
</div>
19631963

@@ -2009,7 +2009,7 @@
20092009

20102010
which gives:
20112011

2012-
![Image 10: Perlin texture, higher frequency](../images/img-2.10-perlin-hifreq.png class=pixel)
2012+
![Image 12: Perlin texture, higher frequency](../images/img-2.12-perlin-hifreq.png class=pixel)
20132013

20142014
</div>
20152015

@@ -2169,8 +2169,8 @@
21692169
<div class='together'>
21702170
This finally gives something more reasonable looking:
21712171

2172-
![Image 11: Perlin texture, shifted off integer values
2173-
](../images/img-2.11-perlin-shift.png class=pixel)
2172+
![Image 13: Perlin texture, shifted off integer values
2173+
](../images/img-2.13-perlin-shift.png class=pixel)
21742174

21752175
</div>
21762176

@@ -2231,7 +2231,7 @@
22312231
<div class='together'>
22322232
Used directly, turbulence gives a sort of camouflage netting appearance:
22332233

2234-
![Image 12: Perlin texture with turbulence](../images/img-2.12-perlin-turb.png class=pixel)
2234+
![Image 14: Perlin texture with turbulence](../images/img-2.14-perlin-turb.png class=pixel)
22352235

22362236
</div>
22372237

@@ -2267,7 +2267,7 @@
22672267

22682268
Which yields:
22692269

2270-
![Image 13: Perlin noise, marbled texture](../images/img-2.13-perlin-marble.png class=pixel)
2270+
![Image 15: Perlin noise, marbled texture](../images/img-2.15-perlin-marble.png class=pixel)
22712271

22722272
</div>
22732273

books/RayTracingTheRestOfYourLife.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368

369369
To after, with stratification:
370370

371-
![Image 2: Cornell box, stratification](../images/img-3.02-cornell-strat.png class=pixel)
371+
![Image 2: Cornell box, with stratification](../images/img-3.02-cornell-strat.png class=pixel)
372372

373373
</div>
374374

@@ -2531,7 +2531,7 @@
25312531
This yields an exactly matching result so all we’ve done so far is move some computation up into the
25322532
`cosine_pdf` class:
25332533

2534-
![Image 9: Cornell box with a cosine density _pdf_
2534+
![Image 9: Cornell box with a cosine density PDF
25352535
](../images/img-3.06-cornell-cos-pdf.jpg class=pixel)
25362536

25372537
</div>
@@ -3461,7 +3461,7 @@
34613461
<div class='together'>
34623462
And we get a decent image with 1000 samples as before:
34633463

3464-
![Image 14: Cornell Cornell box, using a mixture of glass & light PDFs
3464+
![Image 14: Cornell box using a mixture of glass & light PDFs
34653465
](../images/img-3.11-glass-and-light.jpg class=pixel)
34663466

34673467
</div>

0 commit comments

Comments
 (0)