Finally! We have reflections!

This commit is contained in:
Godzil
2020-02-21 17:39:45 +00:00
parent 7337ae4837
commit 89dd74fa7c
7 changed files with 127 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
/*
* DoRayMe - a quick and dirty Raytracer
* Render test for chapter 5 "Put it together".
* Render test for chapter 10
*
* Created by Manoël Trapier
* Copyright (c) 2020 986-Studio.
@@ -79,7 +79,7 @@ int main()
w.addLight(&light);
/* Set the camera */
Camera camera = Camera(100, 50, M_PI / 3);
Camera camera = Camera(1920, 1080, M_PI / 3);
camera.setTransform(viewTransform(Point(0, 1.5, -5),
Point(0, 1, 0),
Vector(0, 1, 0)));