Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1055 - trunk/Model/Materials


Chronological Thread 
  • From: cgribble@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1055 - trunk/Model/Materials
  • Date: Wed, 10 May 2006 09:54:58 -0600 (MDT)

Author: cgribble
Date: Wed May 10 09:54:58 2006
New Revision: 1055

Modified:
   trunk/Model/Materials/Phong.cc
Log:
Fixed naming issue with non-SSE builds

Modified: trunk/Model/Materials/Phong.cc
==============================================================================
--- trunk/Model/Materials/Phong.cc      (original)
+++ trunk/Model/Materials/Phong.cc      Wed May 10 09:54:58 2006
@@ -277,7 +277,7 @@
         Vector dir = rays.getDirection(i);
         Vector H = shadowdir-dir;
         ColorComponent cos_alpha = Dot(H, normal);
-        if(cos_alpha > phong_threshold){
+        if(cos_alpha > highlight_threshold){
           Color::ComponentType length = H.length();
           Color::ComponentType scale = ipow(cos_alpha/length, specpow);
           for(int k=0;k<Color::NumComponents;k++)




  • [MANTA] r1055 - trunk/Model/Materials, cgribble, 05/10/2006

Archive powered by MHonArc 2.6.16.

Top of page