Ignore:
Timestamp:
10/19/06 16:14:29 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp

    r1643 r1649  
    2525#define PROBABILIY_IS_BV_VOLUME 1 
    2626#define USE_FIXEDPOINT_T 0 
    27 #define COUNT_ORIGIN_OBJECTS 0 
     27//#define COUNT_ORIGIN_OBJECTS 0 
    2828 
    2929int BvhNode::sMailId = 10000; //2147483647; 
     
    10691069        const float ratio = newRenderCost / oldRenderCost; 
    10701070 
    1071 #ifdef _DEBUG 
     1071//#ifdef _DEBUG 
    10721072        Debug << "\n§§§§ bvh eval const decrease §§§§" << endl 
    10731073                  << "back pvs: " << (int)objectsBack.size() << " front pvs: " << (int)objectsFront.size() << " total pvs: " << nTotalObjects << endl  
     
    10751075                  << "old rc: " << oldRenderCost / viewSpaceVol << " new rc: " << newRenderCost / viewSpaceVol << endl 
    10761076                  << "render cost decrease: " << oldRenderCost / viewSpaceVol - newRenderCost / viewSpaceVol << endl; 
    1077 #endif 
     1077//#endif 
    10781078 
    10791079        return ratio; 
     
    13261326                        } 
    13271327                } 
    1328  
    1329                 if (COUNT_ORIGIN_OBJECTS && ray->mOriginObject) 
     1328#if COUNT_ORIGIN_OBJECTS 
     1329                if (ray->mOriginObject) 
    13301330                { 
    13311331                        ray->mOriginObject->mVssRays.push_back(ray); 
     
    13371337                        } 
    13381338                } 
     1339#endif 
    13391340        } 
    13401341 
     
    15091510                for (vit = tmpViewCells.begin(); vit != vit_end; ++ vit) 
    15101511                { 
    1511                         //VspViewCell *vc = dynamic_cast<VspViewCell *>(*vit); 
    15121512                        ViewCell *vc = *vit; 
    15131513 
     
    18831883 
    18841884        PrintSubdivisionStats(*oSubdivisionCandidate); 
    1885  
     1885         
    18861886        return oSubdivisionCandidate; 
    18871887} 
Note: See TracChangeset for help on using the changeset viewer.