diff --git a/demo/test50-0b.jpg b/demo/test50-0b.jpg new file mode 100644 index 0000000..9a322fc Binary files /dev/null and b/demo/test50-0b.jpg differ diff --git a/demo/test50-0c.jpg b/demo/test50-0c.jpg new file mode 100644 index 0000000..150d321 Binary files /dev/null and b/demo/test50-0c.jpg differ diff --git a/demo/test50-1b.jpg b/demo/test50-1b.jpg new file mode 100644 index 0000000..a7b1ab4 Binary files /dev/null and b/demo/test50-1b.jpg differ diff --git a/demo/test50-1c.jpg b/demo/test50-1c.jpg new file mode 100644 index 0000000..70dd9b7 Binary files /dev/null and b/demo/test50-1c.jpg differ diff --git a/demo/test50-2b.jpg b/demo/test50-2b.jpg new file mode 100644 index 0000000..c2229ab Binary files /dev/null and b/demo/test50-2b.jpg differ diff --git a/src/Renderer.cpp b/src/Renderer.cpp index 921ca6e..d87738d 100644 --- a/src/Renderer.cpp +++ b/src/Renderer.cpp @@ -18,7 +18,7 @@ Color ray_color(const Ray &r, const Hittable& world, int depth){ hit_record rec; if(depth < effective_depth) effective_depth = depth; if(depth <= 0) - return Color(0,0,0); + return Color(1,0,0); if(world.hit(r,0.001,INFINITY,rec)){ Ray scattered; diff --git a/third_party/cxxopts b/third_party/cxxopts new file mode 160000 index 0000000..714a105 --- /dev/null +++ b/third_party/cxxopts @@ -0,0 +1 @@ +Subproject commit 714a105fe6e965df780c4c6f3c51affde2ca7075