Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r1863 - trunk/Model/Materials


Chronological Thread 
  • From: arobison@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r1863 - trunk/Model/Materials
  • Date: Tue, 20 Nov 2007 19:37:10 -0700 (MST)

Author: arobison
Date: Tue Nov 20 19:37:09 2007
New Revision: 1863

Modified:
   trunk/Model/Materials/Lambertian.cc
Log:
Removing 2*PI term.


Modified: trunk/Model/Materials/Lambertian.cc
==============================================================================
--- trunk/Model/Materials/Lambertian.cc (original)
+++ trunk/Model/Materials/Lambertian.cc Tue Nov 20 19:37:09 2007
@@ -264,13 +264,6 @@
   }
 
   colortex->mapValues(reflectance, context, rays);
-  
-  // Integration normalization correction
-  for(int i = rays.begin(); i != rays.end(); ++i) {
-    for(int j = 0; j < 3; ++j) {
-      reflectance.colordata[j][i] *= 2.0*M_PI;
-    }
-  }
 }
 
 




  • [Manta] r1863 - trunk/Model/Materials, arobison, 11/20/2007

Archive powered by MHonArc 2.6.16.

Top of page