projects
/
MicroTrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
430ddbc
)
readded anti-aliasing
author
Roland Hieber
<rohieb@rohieb.name>
Thu, 21 Jan 2010 01:15:54 +0000
(
02:15
+0100)
committer
Roland Hieber
<rohieb@rohieb.name>
Thu, 21 Jan 2010 01:15:54 +0000
(
02:15
+0100)
MicroTrace.cxx
patch
|
blob
|
history
diff --git
a/MicroTrace.cxx
b/MicroTrace.cxx
index
3a27182
..
4689425
100644
(file)
--- 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;
}
}
This page took
0.024566 seconds
and
4
git commands to generate.