v2.0.0
版本发布时间: 2020-03-24 02:38:00
RayTracing/raytracing.github.io最新发布版本:v4.0.1(2024-09-01 04:00:34)
This major release marks an overhaul of the entire series, moving from a primarily PDF format to a web accessible format using Markdeep (https://casual-effects.com/markdeep/). This represents a huge overhaul to the contents, particularly around source code blocks in the text, mathematical typesetting and source-code cleanup.
Common
- Change: Moved existing InOneWeekend, TheNextWeek, TheRestOfYourLife content to io repo
- Change: Rewrote vec3.h
cross
function for clarity - New: General release to web
- New: Created single monolithic raytracing.github.io repo
- New: License change to CC0 in COPYING.txt
- New: CHANGELOG.md
- New: CONTRIBUTING.md
- New: COPYING.txt
- New: README.md
- New: raytracing.github.io links to all the three books
- New: CSS for all books
- New: CSS for the print variant of the books
- Fix: All instances of
hitable
have becomehittable
- Fix: Replaced
drand48()
with portablerandom_double
number generation - Delete: Deprecated existing InOneWeekend, TheNextWeek, TheRestOfYourLife repos
In One Weekend
- Change: README files updated for top level, source, and books
- Change: Text, Chapter 0 Overview has become Chapter 1, all subsequent chapters incremented
- Change: Text, Syntax highlighting of source modifications
- Change: Text, Chapter 3, Reorder include files in code blocks to match src conventions
- Change: Text, Chapter 3, Consistent use of spaces in code blocks
- Change: Text, Chapter 3, Reordered
vec3
class functions to + - * / - Change: Text, Chapter 4, Reorder include files in code blocks to match src conventions
- Change: Text, Chapter 6, Reorder include files in code blocks to match src conventions
- Change: Text, Chapter 6, Consistent use of spaces in code blocks
- Change: Text, Chapter 7, Consistent use of spaces in code blocks
- Change: Text, Chapter 9, Consistent use of spaces in code blocks
- Change: Text, Chapter 9, Put function signatures and
{
on the same line - Change: Text, Chapter 10, Consistent use of spaces in code blocks
- Change: Text, Chapter 10, Put function signatures and
{
on the same line - Change: Text, Chapter 11, Consistent use of spaces in code blocks
- Change: Text, Chapter 13, Put function signatures and
{
on the same line - New: Markdeep page created for entire body of text
- New: Markdeep MathJax for formulae and equations for body of text
- New: raytracing.github.io/books/RayTracingInOneWeekend.html
- Fix: Text, Chapter 7, Add
#include "random.h"
in code blocks - Fix: Text, Chapter 10, Added metal fuzziness parameter for initial dielectric
- Fix: Text, Chapter 13, Added metal fuzziness parameter
- Fix: Code, Removed extraneous
;
fromvec3::&operator[]
signature - Delete: Code,
vec3 p = r.point_at_parameter(2.0);
in main.cc
The Next Week
- Change: Text, Chapter 0 Overview has become Chapter 1, all subsequent chapters incremented
- Change: Text, Syntax highlighting of source modifications
- Change: Text, Chapter 2, Consistent use of spaces in code blocks
- Change: Text, Chapter 3, Consistent use of spaces in code blocks
- Change: Text, Chapter 4, Consistent use of spaces in code blocks
- Change: Text, Chapter 5, Consistent use of spaces in code blocks
- Change: Text, Chapter 5, added "texture" to "We can use that texture on some spheres"
- Change: Text, Chapter 7, Consistent use of spaces in code blocks
- Change: Text, Chapter 7, "This is yz and xz" changed to "This is xz and yz"
- Change: Text, Chapter 8, Changed "And the changes to Cornell is" to "... Cornell are"
- Change: Text, Chapter 9, Changed short
if
statements to two lines for Consistency - Change: Text, Chapter 10, Consistent use of spaces in code blocks
- Change: Code and Text, Chapter 9, cleaned up implementation of
constant_medium::hit
- Change: Code and Text, Chapter 9, Rewrote debug functionality in
constant_medium::hit
- New: raytracing.github.io/books/RayTracingTheNextWeek.html
- New: README.md, source README.md
- New: Markdeep page created for entire body of text
- New: Markdeep MathJax created for formulae and equations for body of text
- New: Earth map picture for use in rendering
- Fix: Text, Chapter 2, The
lambertian
class definition now usesvec3
instead oftexture
- Fix: Text, Chapter 7, Changed
cornell_box
hittable array size to 5 - Fix: Code and Text, Chapter 3, Changed
List[0]
toList[i]
inhittable_list::bounding_box()
- Fix: Code and Text, Chapter 3, Replaced
fmax
andfmin
withffmax
andffmin
- Fix: Code, Add missing headers to
constant_medium.h
to fix g++ compiler error
The Rest of Your Life
- Change: Text, Chapter 0 Overview has become Chapter 1, all subsequent chapters incremented
- Change: Text, Syntax highlighting of source modifications
- Change: Text, Chapter 2, Reorder include files in code blocks to match src conventions
- Change: Text, Chapter 3, Reorder include files in code blocks to match src conventions
- Change: Text, Chapter 6, Consistent use of spaces in code blocks
- Change: Text, Chapter 6, Consistent use of spaces in code blocks
- Change: Text, Chapter 8, Changed calculation of
a
axis to pseudocode - Change: Text, Chapter 8, Consistent use of spaces in code blocks
- New: raytracing.github.io/books/RayTracingTheRestOfYourLife.html
- New: README.md, source README.md
- New: Markdeep page created for entire body of text
- New: Markdeep MathJax created for formulae and equations for body of text
- Fix: Text, Chapter order starting from chapter 2
- Fix: Text, Renamed figures and images to match new chapter numbering
- Fix: Text, Chapter 4, Rewrote formula for "Color" to "Color = A * color(direction"
- Fix: Code and Text, Chapter 6,
material::scattering_pdf
now returns type float - Fix: Code and Text, Chapter 6, removal of factor of 2 to
random_cosine_direction
calculation
1、 Ray.Tracing.in.One.Weekend.v2.0.0.pdf 1.84MB
2、 Ray.Tracing.The.Next.Week.v2.0.0.pdf 2.98MB