Text archives Help
- From:
- To:
- Subject: [Manta] r2306 - trunk/scenes/csafe/src
- Date: Sat, 19 Jul 2008 09:42:48 -0600 (MDT)
Author: knolla
Date: Sat Jul 19 09:42:46 2008
New Revision: 2306
Modified:
trunk/scenes/csafe/src/CDGridSpheres.cc
Log:
Corrected computeNormals calls in CDGridSpheres.cc
Modified: trunk/scenes/csafe/src/CDGridSpheres.cc
==============================================================================
--- trunk/scenes/csafe/src/CDGridSpheres.cc (original)
+++ trunk/scenes/csafe/src/CDGridSpheres.cc Sat Jul 19 09:42:46 2008
@@ -578,7 +578,7 @@
ColorArray& totalLight) const
{
// Compute normals
- rays.computeNormals(context);
+ rays.computeNormals<false>(context);
// Compute colors
Packet<Color> diffuse;
@@ -664,7 +664,7 @@
RayPacket& rays) const
{
rays.computeHitPositions();
- rays.computeNormals(context);
+ rays.computeNormals<false>(context);
for(int i=rays.begin();i<rays.end();i++){
Vector n=rays.getNormal(i);
Real angle=Clamp(n.z(), (Real)-1, (Real)1);
@@ -684,7 +684,7 @@
RayPacket& rays) const
{
rays.computeHitPositions();
- rays.computeNormals(context);
+ rays.computeNormals<false>(context);
for(int i=rays.begin();i<rays.end();i++){
Vector n=rays.getNormal(i);
Real angle=Clamp(n.z(), (Real)-1, (Real)1);
- [Manta] r2306 - trunk/scenes/csafe/src, knolla, 07/19/2008
Archive powered by MHonArc 2.6.16.