diff --git a/README.md b/README.md index 597ef3f..eb03d70 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,7 @@ The Web Site of the book: http://raytracerchallenge.com/ | Chapiter 10 | Chapiter 11 partie 01 | Chapiter 11 partie 02 | |:------------------------: | :---------------------------: | :----------------------------: | |![10](data/chapter_10.png) | ![11](data/chapter_11_p1.png) | ![11](data/chapter_11_p2.png) | + +| Chapiter 12 | Chapiter 13 | Chapiter 14 | +|:------------------------: | :---------------------------: | :----------------------------: | +|![12](data/chapter_12.png) | | | diff --git a/apps/chapter_12.cpp b/apps/chapter_12.cpp index f3b3201..6341b37 100644 --- a/apps/chapter_12.cpp +++ b/apps/chapter_12.cpp @@ -252,9 +252,9 @@ int main(void) // Configure the camera. // the_camera = Camera(100, 50, 0.7805); // the_camera = Camera(320, 200, 0.7805); - // the_camera = Camera(640, 480, 0.7805); - the_camera = Camera(960, 480, 0.7805); - // the_camera = Camera(2400, 1200, 0.7805); + the_camera = Camera(640, 480, 0.7805); + // the_camera = Camera(960, 480, 0.7805); + // the_camera = Camera(2400, 1200, 0.7805); the_camera.set_transform( Matrix::view_transform(Tuple::Point(8, 6, -8), Tuple::Point(0, 3, 0), Tuple::Vector(0, 1, 0))); diff --git a/data/chapter_12.png b/data/chapter_12.png new file mode 100644 index 0000000..e952886 Binary files /dev/null and b/data/chapter_12.png differ