From: Roland Hieber <rohieb@rohieb.name>
Date: Thu, 21 Jan 2010 01:15:54 +0000 (+0100)
Subject: readded anti-aliasing
X-Git-Url: https://git.rohieb.name/MicroTrace.git/commitdiff_plain/0b29fae9afb220c13cc0c48c91031f0798b91ec7?ds=sidebyside;hp=430ddbc0e443b60b6d0c7893a96e045411368dbf

readded anti-aliasing
---

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;
       }
     }