From 0b29fae9afb220c13cc0c48c91031f0798b91ec7 Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Thu, 21 Jan 2010 02:15:54 +0100 Subject: [PATCH] readded anti-aliasing --- MicroTrace.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MicroTrace.cxx b/MicroTrace.cxx index 3a27182..4689425 100644 --- a/MicroTrace.cxx +++ b/MicroTrace.cxx @@ -174,7 +174,7 @@ void RenderFrameReflectiveEyeLight(const std::string& fileName) scene.camera()->InitRay(x-0.5,y-0.5, ray); // initialize ray Vec3f col4 = scene.RayTrace(ray); - img(x,y) = (col1 /*+ col2 + col3 + col4) / 4.0*/ ); // store pixel color + img(x,y) = (col1 + col2 + col3 + col4) / 4.0; // store pixel color //std::cerr << "Main: Image color = " << img(x,y) << std::endl; } } -- 2.20.1