Moved BRDF to material definition.

This commit is contained in:
Miguel Angel Astor Romero
2017-01-12 13:38:42 -04:00
parent 8c33e46b3d
commit f7f912ff82
13 changed files with 23 additions and 23 deletions

View File

@@ -88,6 +88,7 @@ int main(int argc, char ** argv) {
scene_2(figures, lights, i_model_view);
// Create the tracer object.
if (g_tracer == WHITTED)
tracer = static_cast<Tracer *>(new WhittedTracer(g_h, g_w, g_fov, g_max_depth));
else if(g_tracer == MONTE_CARLO)