readded anti-aliasing
authorRoland Hieber <rohieb@rohieb.name>
Thu, 21 Jan 2010 01:15:54 +0000 (02:15 +0100)
committerRoland Hieber <rohieb@rohieb.name>
Thu, 21 Jan 2010 01:15:54 +0000 (02:15 +0100)
MicroTrace.cxx

index 3a27182..4689425 100644 (file)
@@ -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;
       }
     }
This page took 0.02333 seconds and 4 git commands to generate.