Skip to content

Update all book 1 rendered images #1185

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 34 additions & 28 deletions books/RayTracingInOneWeekend.html
Original file line number Diff line number Diff line change
Expand Up @@ -2393,7 +2393,7 @@
For this very simple scene we should get basically the same result:

![<span class='num'>Image 8:</span> Second render of a diffuse sphere with limited bounces
](../images/img-1.07-first-diffuse.png class='pixel')
](../images/img-1.08-second-diffuse.png class='pixel')

</div>

Expand Down Expand Up @@ -2439,7 +2439,13 @@
[Listing [reflect-tolerance]: <kbd>[camera.h]</kbd>
Calculating reflected ray origins with tolerance]

This gets rid of the shadow acne problem. Yes it is really called that.
<div class='together'>
This gets rid of the shadow acne problem. Yes it is really called that. Here's result:

![<span class='num'>Image 9:</span> Diffuse sphere with no shadow acne
](../images/img-1.09-no-acne.png class='pixel')

</div>


True Lambertian Reflection
Expand Down Expand Up @@ -2508,8 +2514,8 @@
<div class='together'>
After rendering we get a similar image:

![<span class='num'>Image 9:</span> Correct rendering of Lambertian spheres
](../images/img-1.09-correct-lambertian.png class='pixel')
![<span class='num'>Image 10:</span> Correct rendering of Lambertian spheres
](../images/img-1.10-correct-lambertian.png class='pixel')

</div>

Expand Down Expand Up @@ -2569,8 +2575,8 @@
editor of your choice and you should get a very nice visual representation of the increasing
brightness of your chosen gamut. This is the one that we've been working with so far:

![<span class='num'>Image 10:</span> The gamut of our renderer so far
](../images/img-1.10-linear-gamut.png class='pixel')
![<span class='num'>Image 11:</span> The gamut of our renderer so far
](../images/img-1.11-linear-gamut.png class='pixel')

If you look closely, or if you use a color picker, you should notice that the 50% reflectance
render (the one in the middle) is far too dark to be half-way between white and black (middle-gray).
Expand Down Expand Up @@ -2628,8 +2634,8 @@
<div class='together'>
Using this gamma correction, we now get a much more consistent ramp from darkness to lightness:

![<span class='num'>Image 11:</span> The gamma-corrected render of two diffuse spheres
](../images/img-1.11-gamma-gamut.png class='pixel')
![<span class='num'>Image 12:</span> The gamma-corrected render of two diffuse spheres
](../images/img-1.12-gamma-gamut.png class='pixel')

</div>

Expand Down Expand Up @@ -3001,8 +3007,8 @@
<div class='together'>
Which gives:

![<span class='num'>Image 12:</span> Shiny metal
](../images/img-1.12-metal-shiny.png class='pixel')
![<span class='num'>Image 13:</span> Shiny metal
](../images/img-1.13-metal-shiny.png class='pixel')

</div>

Expand Down Expand Up @@ -3064,8 +3070,8 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Listing [metal-fuzz-spheres]: <kbd>[main.cc]</kbd> Metal spheres with fuzziness]

![<span class='num'>Image 13:</span> Fuzzed metal
](../images/img-1.13-metal-fuzz.png class='pixel')
![<span class='num'>Image 14:</span> Fuzzed metal
](../images/img-1.14-metal-fuzz.png class='pixel')

</div>

Expand All @@ -3083,8 +3089,8 @@
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!):

![<span class='num'>Image 14:</span> Glass first
](../images/img-1.14-glass-first.png class='pixel')
![<span class='num'>Image 15:</span> Glass first
](../images/img-1.15-glass-first.png class='pixel')

Is that right? Glass balls look odd in real life. But no, it isn’t right. The world should be
flipped upside down and no weird black stuff. I just printed out the ray straight through the middle
Expand Down Expand Up @@ -3213,8 +3219,8 @@
<div class='together'>
This gives us the following result:

![<span class='num'>Image 15:</span> Glass sphere that always refracts
](../images/img-1.15-glass-always-refract.png class='pixel')
![<span class='num'>Image 16:</span> Glass sphere that always refracts
](../images/img-1.16-glass-always-refract.png class='pixel')

</div>

Expand Down Expand Up @@ -3334,8 +3340,8 @@
<div class='together'>
We get:

![<span class='num'>Image 16:</span> Glass sphere that sometimes refracts
](../images/img-1.16-glass-sometimes-refract.png class='pixel')
![<span class='num'>Image 17:</span> Glass sphere that sometimes refracts
](../images/img-1.17-glass-sometimes-refract.png class='pixel')

</div>

Expand Down Expand Up @@ -3414,8 +3420,8 @@
<div class='together'>
This gives:

![<span class='num'>Image 17:</span> A hollow glass sphere
](../images/img-1.17-glass-hollow.png class='pixel')
![<span class='num'>Image 18:</span> A hollow glass sphere
](../images/img-1.18-glass-hollow.png class='pixel')

</div>

Expand Down Expand Up @@ -3538,8 +3544,8 @@
<div class='together'>
This gives us the rendering:

![<span class='num'>Image 18:</span> A wide-angle view
](../images/img-1.18-wide-view.png class='pixel')
![<span class='num'>Image 19:</span> A wide-angle view
](../images/img-1.19-wide-view.png class='pixel')

</div>

Expand Down Expand Up @@ -3698,8 +3704,8 @@
<div class='together'>
to get:

![<span class='num'>Image 19:</span> A distant view
](../images/img-1.19-view-distant.png class='pixel')
![<span class='num'>Image 20:</span> A distant view
](../images/img-1.20-view-distant.png class='pixel')

</div>

Expand All @@ -3716,7 +3722,7 @@
<div class='together'>
to get:

![<span class='num'>Image 20:</span> Zooming in](../images/img-1.20-view-zoom.png class='pixel')
![<span class='num'>Image 21:</span> Zooming in](../images/img-1.21-view-zoom.png class='pixel')

</div>

Expand Down Expand Up @@ -3972,8 +3978,8 @@
<div class='together'>
We get:

![<span class='num'>Image 21:</span> Spheres with depth-of-field
](../images/img-1.21-depth-of-field.png class='pixel')
![<span class='num'>Image 22:</span> Spheres with depth-of-field
](../images/img-1.22-depth-of-field.png class='pixel')

</div>

Expand Down Expand Up @@ -4064,7 +4070,7 @@
<div class='together'>
This gives:

![<span class='num'>Image 22:</span> Final scene](../images/img-1.22-book1-final.jpg)
![<span class='num'>Image 23:</span> Final scene](../images/img-1.23-book1-final.jpg)

</div>

Expand Down
Binary file modified images/img-1.01-first-ppm-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/img-1.02-blue-to-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/img-1.03-red-sphere.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/img-1.04-normals-sphere.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/img-1.05-normals-sphere-ground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/img-1.07-first-diffuse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img-1.08-second-diffuse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/img-1.09-correct-lambertian.png
Binary file not shown.
Binary file added images/img-1.09-no-acne.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img-1.10-correct-lambertian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file removed images/img-1.12-metal-shiny.png
Binary file not shown.
Binary file removed images/img-1.13-metal-fuzz.png
Binary file not shown.
Binary file added images/img-1.13-metal-shiny.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img-1.14-metal-fuzz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/img-1.15-glass-always-refract.png
Binary file not shown.
File renamed without changes
Binary file added images/img-1.16-glass-always-refract.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/img-1.16-glass-sometimes-refract.png
Binary file not shown.
Binary file removed images/img-1.17-glass-hollow.png
Binary file not shown.
Binary file added images/img-1.17-glass-sometimes-refract.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img-1.18-glass-hollow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/img-1.18-wide-view.png
Binary file not shown.
Binary file removed images/img-1.19-view-distant.png
Binary file not shown.
Binary file added images/img-1.19-wide-view.png
Binary file added images/img-1.20-view-distant.png
Binary file removed images/img-1.20-view-zoom.png
Diff not rendered.
Binary file removed images/img-1.21-depth-of-field.png
Diff not rendered.
Binary file added images/img-1.21-view-zoom.png
Binary file removed images/img-1.22-book1-final.jpg
Diff not rendered.
Binary file added images/img-1.22-depth-of-field.png
Binary file added images/img-1.23-book1-final.jpg