@@ -4,51 +4,57 @@ Change Log -- Ray Tracing in One Weekend
44# v3.2.0 (in progress)
55
66### 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
911 - 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 )
1116
1217### _ In One Weekend_
1318 - Change: Updated all rendered images except for 1.13, 1.14 (#179 , #547 , #548 , #549 , #550 , #551 ,
1419 #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
1621 - Change: Image 6 is now a before-and-after pair to illustrate antialiasing
1722 - Change: Listing 48: Refactored material and geometry declarations
1823 - Change: Listing 52: Refactored assignment of ` etai_over_etat `
1924 - Change: Listing 56: Refactored material declarations
2025 - Change: Listing 61: Refactored material and geometry declarations
21- - Fix: Rewrote refracted ray perpendicular and parallel components for correctness
2226 - Fix: Corrected various missed change highlights in code listings
2327 - Fix: Listing 7: Added missing ` color.h ` , ` vec3.h ` includes
2428 - Fix: Listing 18: Add missing ` double t ` member of struct ` hit_record ` (#428 )
2529 - Fix: Listing 24: Add missing ` color.h ` include
2630 - Fix: Listing 30: Add missing ` camera.h ` include
2731 - Fix: Listing 42: Don't need to include ` ray.h ` when using ` rtweekend.h `
2832 - 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 )
3034 - Fix: Listing 61: Include updated ` cam ` declaration, show context w/highlighting
3135 - Fix: Listing 62: Highlight rename of ` camera::get_ray() ` parameters to s, t (#616 )
3236 - Fix: Listing 63: Show reverted scene declarations
3337 - Fix: Listing 68: Show final scene render parameters with highlighting
38+ - Fix: Rewrote refracted ray perpendicular and parallel components for correctness (#526 )
3439 - New: Listing 50: Show the updated material definitions
35- - New: Add new isotropic constructor taking color argument (#644 )
3640
3741### _ 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
4650 - Fix: "Intance" typo in Chapter 8.1 to "Instance" (#629 )
4751 - 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 )
5258
5359
5460----------------------------------------------------------------------------------------------------
0 commit comments