Text archives Help
- From: roni@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [Manta] r2095 - trunk/Engine/Renderers
- Date: Wed, 20 Feb 2008 00:24:58 -0700 (MST)
Author: roni
Date: Wed Feb 20 00:24:57 2008
New Revision: 2095
Modified:
trunk/Engine/Renderers/NPREdges.cc
Log:
NPREdges.cc:
-Suppress print statements.
Modified: trunk/Engine/Renderers/NPREdges.cc
==============================================================================
--- trunk/Engine/Renderers/NPREdges.cc (original)
+++ trunk/Engine/Renderers/NPREdges.cc Wed Feb 20 00:24:57 2008
@@ -203,6 +203,10 @@
}
// Find a run of Shade samples.
+ //
+ // TODO(choudhury): Look for a run of Shade samples *of the
+ // same primitive*, and do only one test per run for
+ // crease-type primitive.
int j;
for(j=i+1; j<rays.end(); j++)
if(type(rays, stencil, j) != Shade)
@@ -234,13 +238,13 @@
if(!(typeid(*prim) == typeid(Cube) ||
typeid(*prim) == typeid(QuadFacedHexahedron))){
- std::cout << "ValuePrimitive: " << typeid(*prim).name() <<
std::endl;
+ //std::cout << "ValuePrimitive: " << typeid(*prim).name() <<
std::endl;
continue;
}
}
else if(!(typeid(*hitprim) == typeid(Cube) ||
typeid(*hitprim) == typeid(QuadFacedHexahedron))){
- std::cout << "Regular Primitive: " << typeid(*hitprim).name() <<
std::endl;
+ //std::cout << "Regular Primitive: " << typeid(*hitprim).name()
<< std::endl;
continue;
}
- [Manta] r2095 - trunk/Engine/Renderers, roni, 02/20/2008
Archive powered by MHonArc 2.6.16.