diff --git a/books/RayTracingInOneWeekend.html b/books/RayTracingInOneWeekend.html index 02956ed6..4398f701 100644 --- a/books/RayTracingInOneWeekend.html +++ b/books/RayTracingInOneWeekend.html @@ -108,7 +108,7 @@ Opening the output file (in ToyViewer on my mac, but try it in your favorite viewer and google “ppm viewer” if your viewer doesn’t support it) shows: - ![Image 2-2](../images/img-1-02-2.jpg) + ![Image 2-2](../images/img-1-02-2.png) @@ -400,7 +400,7 @@ with $t$ going from zero to one. In our case this produces: - ![Image 4-1](../images/img-1-04-1.jpg) + ![Image 4-1](../images/img-1-04-1.png) @@ -494,7 +494,7 @@
What we get is this: - ![Image 5-1](../images/img-1-05-1.jpg) + ![Image 5-1](../images/img-1-05-1.png)
@@ -565,7 +565,7 @@
And that yields this picture: - ![Image 6-1](../images/img-1-06-1.jpg) + ![Image 6-1](../images/img-1-06-1.png)
@@ -787,7 +787,7 @@ This yields a picture that is really just a visualization of where the spheres are along with their surface normal. This is often a great way to look at your model for flaws and characteristics. - ![Image 6-2](../images/img-1-06-2.jpg) + ![Image 6-2](../images/img-1-06-2.png) @@ -960,7 +960,7 @@ Zooming into the image that is produced, the big change is in edge pixels that are part background and part foreground: - ![Image 7-1](../images/img-1-07-1.jpg) + ![Image 7-1](../images/img-1-07-1.png) @@ -1040,7 +1040,7 @@
This gives us: - ![Image 8-1](../images/img-1-08-1.jpg) + ![Image 8-1](../images/img-1-08-1.png)
@@ -1077,7 +1077,7 @@
That yields light grey, as we desire: - ![Image 8-2](../images/img-1-08-2.jpg) + ![Image 8-2](../images/img-1-08-2.png)
@@ -1308,7 +1308,7 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight hittable *list[4]; - list[0] = new sphere(vec3(0,0,-1), 0.5, new lambertian(vec3(0.8, 0.3, 0.3))); + list[0] = new sphere(vec3(0,0,-1), 0.5, new lambertian(vec3(0.7, 0.3, 0.3))); list[1] = new sphere(vec3(0,-100.5,-1), 100, new lambertian(vec3(0.8, 0.8, 0.0))); list[2] = new sphere(vec3(1,0,-1), 0.5, new metal(vec3(0.8, 0.6, 0.2))); list[3] = new sphere(vec3(-1,0,-1), 0.5, new metal(vec3(0.8, 0.8, 0.8))); @@ -1335,7 +1335,7 @@
Which gives: - ![Image 9-1](../images/img-1-09-1.jpg) + ![Image 9-1](../images/img-1-09-1.png)
@@ -1396,7 +1396,7 @@
We can try that out by adding fuzziness 0.3 and 1.0 to the metals: - ![Image 9-2](../images/img-1-09-2.jpg) + ![Image 9-2](../images/img-1-09-2.png)
@@ -1414,7 +1414,7 @@ there is a refraction ray at all. For this project, I tried to put two glass balls in our scene, and I got this (I have not told you how to do this right or wrong yet, but soon!): - ![Image 10-1](../images/img-1-10-1.jpg) + ![Image 10-1](../images/img-1-10-1.png) @@ -1513,7 +1513,7 @@ We get: - ![Image 10-2](../images/img-1-10-2.jpg) + ![Image 10-2](../images/img-1-10-2.png) @@ -1616,7 +1616,7 @@
This gives: - ![Image 10-3](../images/img-1-10-3.jpg) + ![Image 10-3](../images/img-1-10-3.png)
@@ -1687,7 +1687,7 @@ gives: - ![Image 11-1](../images/img-1-11-1.jpg) + ![Image 11-1](../images/img-1-11-1.png) @@ -1763,11 +1763,11 @@ to get: - ![Image 11-2](../images/img-1-11-2.jpg) + ![Image 11-2](../images/img-1-11-2.png) And we can change field of view to get: - ![Image 11-3](../images/img-1-11-3.jpg) + ![Image 11-3](../images/img-1-11-3.png) @@ -1883,7 +1883,7 @@ We get: - ![Image 12-1](../images/img-1-12-1.jpg) + ![Image 12-1](../images/img-1-12-1.png) diff --git a/images/img-1-02-2.jpg b/images/img-1-02-2.jpg deleted file mode 100644 index 38fca5a9..00000000 Binary files a/images/img-1-02-2.jpg and /dev/null differ diff --git a/images/img-1-02-2.png b/images/img-1-02-2.png new file mode 100644 index 00000000..69dac356 Binary files /dev/null and b/images/img-1-02-2.png differ diff --git a/images/img-1-04-1.jpg b/images/img-1-04-1.jpg deleted file mode 100644 index d2376892..00000000 Binary files a/images/img-1-04-1.jpg and /dev/null differ diff --git a/images/img-1-04-1.png b/images/img-1-04-1.png new file mode 100644 index 00000000..2cd922bf Binary files /dev/null and b/images/img-1-04-1.png differ diff --git a/images/img-1-05-1.jpg b/images/img-1-05-1.jpg deleted file mode 100644 index 5be66d36..00000000 Binary files a/images/img-1-05-1.jpg and /dev/null differ diff --git a/images/img-1-05-1.png b/images/img-1-05-1.png new file mode 100644 index 00000000..5b9628e0 Binary files /dev/null and b/images/img-1-05-1.png differ diff --git a/images/img-1-06-1.jpg b/images/img-1-06-1.jpg deleted file mode 100644 index 9d89506c..00000000 Binary files a/images/img-1-06-1.jpg and /dev/null differ diff --git a/images/img-1-06-1.png b/images/img-1-06-1.png new file mode 100644 index 00000000..a1f7cb30 Binary files /dev/null and b/images/img-1-06-1.png differ diff --git a/images/img-1-06-2.jpg b/images/img-1-06-2.jpg deleted file mode 100644 index 564c6323..00000000 Binary files a/images/img-1-06-2.jpg and /dev/null differ diff --git a/images/img-1-06-2.png b/images/img-1-06-2.png new file mode 100644 index 00000000..ecbda2ae Binary files /dev/null and b/images/img-1-06-2.png differ diff --git a/images/img-1-07-1.jpg b/images/img-1-07-1.jpg deleted file mode 100644 index c4d5efde..00000000 Binary files a/images/img-1-07-1.jpg and /dev/null differ diff --git a/images/img-1-07-1.png b/images/img-1-07-1.png new file mode 100644 index 00000000..7eaf23c8 Binary files /dev/null and b/images/img-1-07-1.png differ diff --git a/images/img-1-08-1.jpg b/images/img-1-08-1.jpg deleted file mode 100644 index abcff96b..00000000 Binary files a/images/img-1-08-1.jpg and /dev/null differ diff --git a/images/img-1-08-1.png b/images/img-1-08-1.png new file mode 100644 index 00000000..db1fdde0 Binary files /dev/null and b/images/img-1-08-1.png differ diff --git a/images/img-1-08-2.jpg b/images/img-1-08-2.jpg deleted file mode 100644 index fee3d113..00000000 Binary files a/images/img-1-08-2.jpg and /dev/null differ diff --git a/images/img-1-08-2.png b/images/img-1-08-2.png new file mode 100644 index 00000000..d0b31241 Binary files /dev/null and b/images/img-1-08-2.png differ diff --git a/images/img-1-09-1.jpg b/images/img-1-09-1.jpg deleted file mode 100644 index 0f0ac3d5..00000000 Binary files a/images/img-1-09-1.jpg and /dev/null differ diff --git a/images/img-1-09-1.png b/images/img-1-09-1.png new file mode 100644 index 00000000..651dec92 Binary files /dev/null and b/images/img-1-09-1.png differ diff --git a/images/img-1-09-2.jpg b/images/img-1-09-2.jpg deleted file mode 100644 index c0b04e4a..00000000 Binary files a/images/img-1-09-2.jpg and /dev/null differ diff --git a/images/img-1-09-2.png b/images/img-1-09-2.png new file mode 100644 index 00000000..5f2c7b49 Binary files /dev/null and b/images/img-1-09-2.png differ diff --git a/images/img-1-10-1.jpg b/images/img-1-10-1.jpg deleted file mode 100644 index d88859f7..00000000 Binary files a/images/img-1-10-1.jpg and /dev/null differ diff --git a/images/img-1-10-1.png b/images/img-1-10-1.png new file mode 100644 index 00000000..5cc67886 Binary files /dev/null and b/images/img-1-10-1.png differ diff --git a/images/img-1-10-2.jpg b/images/img-1-10-2.jpg deleted file mode 100644 index 9bb7c657..00000000 Binary files a/images/img-1-10-2.jpg and /dev/null differ diff --git a/images/img-1-10-2.png b/images/img-1-10-2.png new file mode 100644 index 00000000..7835d063 Binary files /dev/null and b/images/img-1-10-2.png differ diff --git a/images/img-1-10-3.jpg b/images/img-1-10-3.jpg deleted file mode 100644 index 964a20fd..00000000 Binary files a/images/img-1-10-3.jpg and /dev/null differ diff --git a/images/img-1-10-3.png b/images/img-1-10-3.png new file mode 100644 index 00000000..bac5b7fe Binary files /dev/null and b/images/img-1-10-3.png differ diff --git a/images/img-1-11-1.jpg b/images/img-1-11-1.jpg deleted file mode 100644 index 3ffecb66..00000000 Binary files a/images/img-1-11-1.jpg and /dev/null differ diff --git a/images/img-1-11-1.png b/images/img-1-11-1.png new file mode 100644 index 00000000..264e9cb1 Binary files /dev/null and b/images/img-1-11-1.png differ diff --git a/images/img-1-11-2.jpg b/images/img-1-11-2.jpg deleted file mode 100644 index d1b86dac..00000000 Binary files a/images/img-1-11-2.jpg and /dev/null differ diff --git a/images/img-1-11-2.png b/images/img-1-11-2.png new file mode 100644 index 00000000..08057be0 Binary files /dev/null and b/images/img-1-11-2.png differ diff --git a/images/img-1-11-3.jpg b/images/img-1-11-3.jpg deleted file mode 100644 index 692d3df6..00000000 Binary files a/images/img-1-11-3.jpg and /dev/null differ diff --git a/images/img-1-11-3.png b/images/img-1-11-3.png new file mode 100644 index 00000000..9ed098b2 Binary files /dev/null and b/images/img-1-11-3.png differ diff --git a/images/img-1-12-1.jpg b/images/img-1-12-1.jpg deleted file mode 100644 index f113dc11..00000000 Binary files a/images/img-1-12-1.jpg and /dev/null differ diff --git a/images/img-1-12-1.png b/images/img-1-12-1.png new file mode 100644 index 00000000..8f2fcc56 Binary files /dev/null and b/images/img-1-12-1.png differ diff --git a/images/img-1-13-1.jpg b/images/img-1-13-1.jpg index 4c3d521f..ad5ba4f3 100644 Binary files a/images/img-1-13-1.jpg and b/images/img-1-13-1.jpg differ