Download Latest Version v4.0.2 (2025-04-25) source code.tar.gz (22.7 MB)
Email in envelope

Get an email when there's a new version of Ray Tracing in One Weekend Book Series

Home / v4.0.1
Name Modified Size InfoDownloads / Week
Parent folder
RayTracingInOneWeekend-v4.0.1.pdf 2024-08-31 5.6 MB
RayTracingTheRestOfYourLife-v4.0.1.pdf 2024-08-31 5.8 MB
RayTracingTheNextWeek-v4.0.1.pdf 2024-08-31 8.6 MB
README.md 2024-08-31 1.3 kB
v4.0.1 (2024-08-31) source code.tar.gz 2024-08-31 22.7 MB
v4.0.1 (2024-08-31) source code.zip 2024-08-31 22.7 MB
Totals: 6 Items   65.4 MB 2

Common

  • Change -- Include hittable.h from material.h; drop hit_record forward declaration (#1609)
  • Change -- Refactor sphere to use ray representation for animate center (#1621)
  • Change -- All headers assume implicit rtweekend.h include (#1628)
  • Fix -- Big improvement to print version listing font size (#1595) and more compact line height for code listings in both print and browser.
  • Fix -- Slight improvement to rotate_y::hit() function (#1484)
  • Fix -- Fixed possible bogus values from random_unit_vector() due to underflow (#1606)

In One Weekend

  • Fix -- Fixed usage of the term "unit cube" for a cube of diameter two (#1555, [#1603])
  • Fix -- Fixed broken highlighting on some code listings (#1600)

The Next Week

  • Fix -- Add missing ellipsis in listing 2.62 (#1612)

The Rest of Your Life

  • Fix -- Fix typo of "arbitrary" (#1589)
  • Fix -- Fix X-axis label for figure 3.08 (Approximating the nonuniform f()) (#1532)
  • Fix -- Corrected scatter angle theta range in section 3.5.3 (The Scattering PDF) (#1331)
  • Fix -- Clarify the distinction between average and expected value (#1535)
  • New -- Added a bit more explanation of Buffon's needle problem (#1529)
Source: README.md, updated 2024-08-31