Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1048 - trunk/Engine/Shadows


Chronological Thread 
  • From: sparker@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1048 - trunk/Engine/Shadows
  • Date: Mon, 8 May 2006 16:46:30 -0600 (MDT)

Author: sparker
Date: Mon May  8 16:46:28 2006
New Revision: 1048

Modified:
   trunk/Engine/Shadows/NoShadows.cc
Log:
Fix bug in noshadows


Modified: trunk/Engine/Shadows/NoShadows.cc
==============================================================================
--- trunk/Engine/Shadows/NoShadows.cc   (original)
+++ trunk/Engine/Shadows/NoShadows.cc   Mon May  8 16:46:28 2006
@@ -59,8 +59,9 @@
         shadowRays.maskRay(i);
       }
     }
-    shadowRays.resize (last);
+    j++;
   } while(last == -1 && j < nlights);
+  shadowRays.resize (last+1);
   stateBuffer.i1 = j;
   return j == nlights;
 }




  • [MANTA] r1048 - trunk/Engine/Shadows, sparker, 05/08/2006

Archive powered by MHonArc 2.6.16.

Top of page