Skip to content

Commit ddd8ea7

Browse files
authored
Merge pull request #521 from RayTracing/image-renames
Image renames
2 parents ef5a39e + 1e8d28d commit ddd8ea7

File tree

59 files changed

+79
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+79
-67
lines changed

books/RayTracingInOneWeekend.html

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
Opening the output file (in `ToyViewer` on my Mac, but try it in your favorite viewer and Google
138138
“ppm viewer” if your viewer doesn’t support it) shows this result:
139139

140-
![First PPM image](../images/img.first-ppm-image.png class=pixel)
140+
![Image 1: First PPM image](../images/img-1.01-first-ppm-image.png class=pixel)
141141

142142
</div>
143143

@@ -536,8 +536,8 @@
536536

537537
with $t$ going from zero to one. In our case this produces:
538538

539-
![A blue-to-white gradient depending on ray Y coordinate
540-
](../images/img.blue-to-white.png class=pixel)
539+
![Image 2: A blue-to-white gradient depending on ray Y coordinate
540+
](../images/img-1.02-blue-to-white.png class=pixel)
541541

542542
</div>
543543

@@ -651,7 +651,7 @@
651651
<div class='together'>
652652
What we get is this:
653653

654-
![A simple red sphere](../images/img.red-sphere.png class=pixel)
654+
![Image 3: A simple red sphere](../images/img-1.03-red-sphere.png class=pixel)
655655

656656
</div>
657657

@@ -727,7 +727,8 @@
727727
<div class='together'>
728728
And that yields this picture:
729729

730-
![A sphere colored according to its normal vectors](../images/img.normals-sphere.png class=pixel)
730+
![Image 4: A sphere colored according to its normal vectors
731+
](../images/img-1.04-normals-sphere.png class=pixel)
731732

732733
</div>
733734

@@ -1239,8 +1240,8 @@
12391240
This yields a picture that is really just a visualization of where the spheres are along with their
12401241
surface normal. This is often a great way to look at your model for flaws and characteristics.
12411242

1242-
![Resulting render of normals-colored sphere with ground
1243-
](../images/img.normals-sphere-ground.png class=pixel)
1243+
![Image 5: Resulting render of normals-colored sphere with ground
1244+
](../images/img-1.05-normals-sphere-ground.png class=pixel)
12441245

12451246
</div>
12461247

@@ -1428,7 +1429,7 @@
14281429
Zooming into the image that is produced, the big change is in edge pixels that are part background
14291430
and part foreground:
14301431

1431-
![Close-up of antialiased pixels](../images/img.antialias.png class=pixel)
1432+
![Image 6: Close-up of antialiased pixels](../images/img-1.06-antialias.png class=pixel)
14321433

14331434
</div>
14341435

@@ -1603,7 +1604,7 @@
16031604
<div class='together'>
16041605
This gives us:
16051606

1606-
![First render of a diffuse sphere](../images/img.first-diffuse.jpg class=pixel)
1607+
![Image 7: First render of a diffuse sphere](../images/img-1.07-first-diffuse.jpg class=pixel)
16071608

16081609
</div>
16091610

@@ -1647,7 +1648,8 @@
16471648
<div class='together'>
16481649
That yields light grey, as we desire:
16491650

1650-
![Diffuse sphere, with gamma correction](../images/img.gamma-correct.jpg class=pixel)
1651+
![Image 8: Diffuse sphere, with gamma correction
1652+
](../images/img-1.08-gamma-correct.jpg class=pixel)
16511653

16521654
</div>
16531655

@@ -1727,7 +1729,8 @@
17271729
<div class='together'>
17281730
After rendering we get a similar image:
17291731

1730-
![Correct rendering of Lambertian spheres](../images/img.correct-lambertian.png class=pixel)
1732+
![Image 9: Correct rendering of Lambertian spheres
1733+
](../images/img-1.09-correct-lambertian.png class=pixel)
17311734

17321735
It's hard to tell the difference between these two diffuse methods, given that our scene of two
17331736
spheres is so simple, but you should be able to notice two important visual differences:
@@ -1806,8 +1809,8 @@
18061809

18071810
Gives us the following image:
18081811

1809-
![Rendering of diffuse spheres with hemispherical scattering
1810-
](../images/img.rand-hemispherical.png class=pixel)
1812+
![Image 10: Rendering of diffuse spheres with hemispherical scattering
1813+
](../images/img-1.10-rand-hemispherical.png class=pixel)
18111814

18121815
</div>
18131816

@@ -2130,7 +2133,7 @@
21302133
<div class='together'>
21312134
Which gives:
21322135

2133-
![Shiny metal](../images/img.metal-shiny.png class=pixel)
2136+
![Image 11: Shiny metal](../images/img-1.11-metal-shiny.png class=pixel)
21342137

21352138
</div>
21362139

@@ -2183,7 +2186,7 @@
21832186
<div class='together'>
21842187
We can try that out by adding fuzziness 0.3 and 1.0 to the metals:
21852188

2186-
![Fuzzed metal](../images/img.metal-fuzz.png class=pixel)
2189+
![Image 12: Fuzzed metal](../images/img-1.12-metal-fuzz.png class=pixel)
21872190

21882191
</div>
21892192

@@ -2204,7 +2207,7 @@
22042207
there is a refraction ray at all. For this project, I tried to put two glass balls in our scene, and
22052208
I got this (I have not told you how to do this right or wrong yet, but soon!):
22062209

2207-
![Glass first](../images/img.glass-first.png class=pixel)
2210+
![Image 13: Glass first](../images/img-1.13-glass-first.png class=pixel)
22082211

22092212
</div>
22102213

@@ -2308,7 +2311,8 @@
23082311

23092312
This gives us the following result:
23102313

2311-
![Glass sphere that always refracts](../images/img.glass-always-refract.png class=pixel)
2314+
![Image 14: Glass sphere that always refracts
2315+
](../images/img-1.14-glass-always-refract.png class=pixel)
23122316

23132317

23142318
Total Internal Reflection
@@ -2429,7 +2433,8 @@
24292433

24302434
We get:
24312435

2432-
![Glass sphere that sometimes refracts](../images/img.glass-sometimes-refract.png class=pixel)
2436+
![Image 15: Glass sphere that sometimes refracts
2437+
](../images/img-1.15-glass-sometimes-refract.png class=pixel)
24332438

24342439
</div>
24352440

@@ -2514,7 +2519,7 @@
25142519
<div class='together'>
25152520
This gives:
25162521

2517-
![A hollow glass sphere](../images/img.glass-hollow.png class=pixel)
2522+
![Image 16: A hollow glass sphere](../images/img-1.16-glass-hollow.png class=pixel)
25182523

25192524
</div>
25202525

@@ -2591,7 +2596,7 @@
25912596

25922597
gives:
25932598

2594-
![A wide-angle view](../images/img.wide-view.png class=pixel)
2599+
![Image 17: A wide-angle view](../images/img-1.17-wide-view.png class=pixel)
25952600

25962601
</div>
25972602

@@ -2675,7 +2680,7 @@
26752680

26762681
to get:
26772682

2678-
![A distant view](../images/img.view-distant.png class=pixel)
2683+
![Image 18: A distant view](../images/img-1.18-view-distant.png class=pixel)
26792684

26802685
And we can change field of view:
26812686

@@ -2686,7 +2691,7 @@
26862691

26872692
to get:
26882693

2689-
![Zooming in](../images/img.view-zoom.png class=pixel)
2694+
![Image 19: Zooming in](../images/img-1.19-view-zoom.png class=pixel)
26902695

26912696
</div>
26922697

@@ -2828,7 +2833,7 @@
28282833

28292834
We get:
28302835

2831-
![Spheres with depth-of-field](../images/img.depth-of-field.png class=pixel)
2836+
![Image 20: Spheres with depth-of-field](../images/img-1.20-depth-of-field.png class=pixel)
28322837

28332838
</div>
28342839

@@ -2905,7 +2910,7 @@
29052910
<div class='together'>
29062911
This gives:
29072912

2908-
![Final scene](../images/img.book1-final.jpg)
2913+
![Image 21: Final scene](../images/img-1.21-book1-final.jpg)
29092914

29102915
</div>
29112916

0 commit comments

Comments
 (0)