Added some proper test scenes for chapter 11.
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
Camera(uint32_t hsize, uint32_t vsize, double fov);
|
||||
void setTransform(Matrix transform);
|
||||
Ray rayForPixel(uint32_t pixelX, uint32_t pixelY);
|
||||
Canvas render(World w);
|
||||
Canvas render(World w, uint32_t depth = 5);
|
||||
};
|
||||
|
||||
#endif /* DORAYME_CAMERA_H */
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
bool isShadowed(Tuple point);
|
||||
|
||||
Colour reflectColour(Computation comps, uint32_t depthCount = 4);
|
||||
Colour refractedColour(Computation comps, uint32_t depthCount = 0);
|
||||
Colour refractedColour(Computation comps, uint32_t depthCount = 4);
|
||||
|
||||
Intersect intersect(Ray r);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user