README (1120B)
1 raytracer 2 ============================================================================== 3 A follow-through of Peter Shirley's "Raytracing in X" series. 4 5 Since this covers multiple different series, it is split up into the following 6 subdirectories: `./rt1/` covers book 1 ("Raytracing In One Weekend"), `./rt2/` 7 covers book 2 ("Raytracing The Next Week"), and `./rt3/` covers book 3 8 ("Raytracing The Rest Of Your Life"). 9 10 Written in relatively portable C99. 11 12 raytracer: Building 13 ------------------------------------------------------------------------------ 14 To build, simply run `./build.sh`. To clean, similarly run `./clean.sh`. 15 16 To build a specific book only, set the BOOK environment variable to the number 17 of the book you want to build. For example, to build only book 1, run: 18 `BOOK=1 ./build.sh`. 19 20 raytracer: References 21 ------------------------------------------------------------------------------ 22 Book 1: https://raytracing.github.io/books/RayTracingInOneWeekend.html 23 Book 2: https://raytracing.github.io/books/RayTracingTheNextWeek.html 24 Book 3: https://raytracing.github.io/books/RayTracingTheRestOfYourLife.html