@@ -4,51 +4,57 @@ Change Log -- Ray Tracing in One Weekend
4
4
# v3.2.0 (in progress)
5
5
6
6
### Common
7
- - Removed: now that the code handles ray-surface intersection from either side, we no longer need
8
- the ` flip_face ` class, so we've deleted it from the text and from the code (#482 , #270 )
7
+ - Delete: vestigial ` vec3::write_color() ` method (now in color.h)
8
+ - Change: All images and figures renamed to follow more logical convention, using the following
9
+ pattern: ` {fig,img}-<book>.<sequence>-<title>.<filetype> ` (#495 )
10
+ - Change: ` main() ` function gets organized into image, world, camera, and render chunks
9
11
- Change: Added header guards to the text of all three books whenever a new header file was
10
- introduced
12
+ introduced, consistent with source code (#645 )
13
+ - New: Added constructors that take ` color ` arguments in addition to the constructors
14
+ taking ` shared_ptr<texture> ` arguments, simplifying calling code. Applies to ` checker_texture ` ,
15
+ ` constant_medium ` , ` diffuse_light ` , ` lambertian ` , and ` isotropic ` (#516 , #644 )
11
16
12
17
### _ In One Weekend_
13
18
- Change: Updated all rendered images except for 1.13, 1.14 (#179 , #547 , #548 , #549 , #550 , #551 ,
14
19
#552 , #553 , #554 , #555 , #556 , #557 , #560 , #561 , #562 , #563 , #564 , #565 , #566 )
15
- - Change: Standard render width changed to 400
20
+ - Change: Standard working render width changed to 400 pixels
16
21
- Change: Image 6 is now a before-and-after pair to illustrate antialiasing
17
22
- Change: Listing 48: Refactored material and geometry declarations
18
23
- Change: Listing 52: Refactored assignment of ` etai_over_etat `
19
24
- Change: Listing 56: Refactored material declarations
20
25
- Change: Listing 61: Refactored material and geometry declarations
21
- - Fix: Rewrote refracted ray perpendicular and parallel components for correctness
22
26
- Fix: Corrected various missed change highlights in code listings
23
27
- Fix: Listing 7: Added missing ` color.h ` , ` vec3.h ` includes
24
28
- Fix: Listing 18: Add missing ` double t ` member of struct ` hit_record ` (#428 )
25
29
- Fix: Listing 24: Add missing ` color.h ` include
26
30
- Fix: Listing 30: Add missing ` camera.h ` include
27
31
- Fix: Listing 42: Don't need to include ` ray.h ` when using ` rtweekend.h `
28
32
- Fix: Listing 48: Add missing ` material.h ` include
29
- - Fix: Listing 51: ` refract() ` function was missing ` fabs() ` on ` sqrt() ` argument (#559
33
+ - Fix: Listing 51: ` refract() ` function was missing ` fabs() ` on ` sqrt() ` argument (#559 )
30
34
- Fix: Listing 61: Include updated ` cam ` declaration, show context w/highlighting
31
35
- Fix: Listing 62: Highlight rename of ` camera::get_ray() ` parameters to s, t (#616 )
32
36
- Fix: Listing 63: Show reverted scene declarations
33
37
- Fix: Listing 68: Show final scene render parameters with highlighting
38
+ - Fix: Rewrote refracted ray perpendicular and parallel components for correctness (#526 )
34
39
- New: Listing 50: Show the updated material definitions
35
- - New: Add new isotropic constructor taking color argument (#644 )
36
40
37
41
### _ The Next Week_
38
- - Removed : Deleted the section covering the old ` flip_face ` class, renumbered images as this
39
- eliminated the rendering with missing Cornell box faces (#482 , #661 )
40
- - Change: Renamed and explicitly numbered book images and figures ( # 495 )
41
- - Fix: Reduced code duplication in dielectric::scatter() function
42
- - New: Added alternative constructors that take color arguments in addition to the constructors
43
- that take ` shared_ptr<texture> ` arguments, simplifying calling code. This applies to the
44
- following classes: ` checker_texture ` , ` constant_medium ` , ` diffuse_light ` , and ` lambertian ` .
45
- ( # 516 )
42
+ - Delete : Deleted the section covering the old ` flip_face ` class, renumbered images as this
43
+ eliminated the rendering with missing Cornell box faces (#270 , # 482 , #661 )
44
+ - Delete: scenes 7 & 9 from the original ( ` cornell_balls ` and ` cornell_final ` ), as these were not
45
+ covered in the book. Made the source and book consistent with each other. There are now a total
46
+ of eight scenes for the second book ( # 653 , # 620 )
47
+ - Change: Updated most rendered images for book 2: 2.01-2.03, 2.07-2.13, 2.15-2.22.
48
+ - Change: Listing 10: Separate out world & camera definitions in main ( # 646 )
49
+ - Fix: Reduced code duplication in ` dielectric::scatter() ` function
46
50
- Fix: "Intance" typo in Chapter 8.1 to "Instance" (#629 )
47
51
- Fix: Listing 7: Show reverted viewing parameters from book 1 final scene
48
- - Change: Listing 10: Separate out world & camera definitions in main (#646 )
49
- - New: Add new isotropic constructor taking color argument (#644 )
50
- - Removed: scenes 7 & 9 from the original (` cornell_balls ` and ` cornell_final ` ). There are now a
51
- total of eight scenes for the second book (#653 , #620 )
52
+ - Fix: Typo in listing caption for filename ` moving-sphere.h `
53
+
54
+ ### _ The Rest of Your Life_
55
+ - Change: use ` vup ` for camera, as in other two books
56
+ - Fix: world and camera setup in ` main() ` , and include full body in book listing (#646 )
57
+ - New: ` flip_face ` moved to book 3, where it's needed for the light source (#661 )
52
58
53
59
54
60
----------------------------------------------------------------------------------------------------
0 commit comments