Separated Whitted from Path Tracing. Added FreeImage dependecy.

This commit is contained in:
Miguel Angel Astor Romero
2017-01-11 13:45:17 -04:00
parent ea7529f995
commit a9670e93f0
9 changed files with 154 additions and 33 deletions

View File

@@ -6,11 +6,9 @@
class PathTracer: public Tracer {
public:
bool indirect_l;
PathTracer(): Tracer() { }
PathTracer(): Tracer(), indirect_l(false) { }
PathTracer(int h, int w, float fov, bool il): Tracer(h, w, fov), indirect_l(il) { };
PathTracer(int h, int w, float fov): Tracer(h, w, fov) { };
virtual ~PathTracer();