Ignore:
Timestamp:
01/23/08 03:20:29 (16 years ago)
Author:
bittner
Message:

GetPvsCost? changed, APplyFilter2 collects small kdnodes

File:
1 edited

Legend:

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

    r2629 r2635  
    99namespace GtpVisibilityPreprocessor { 
    1010 
     11 
     12#define DEBUG_PROCESS_RAY 0 
    1113 
    1214#define DEBUG_RAYCAST 0 
     
    412414        { 
    413415          if (!hitA.mObject && !hitB.mObject) { 
     416#if DEBUG_PROCESS_RAY 
     417                cout<<"I1 "; 
     418#endif 
    414419                return 0; 
    415420          } 
     
    419424        // rays whic degenerate to a point 
    420425        if (EpsilonEqualV3(hitA.mPoint, hitB.mPoint, Limits::Small)) { 
     426#if DEBUG_PROCESS_RAY 
     427                cout<<"I2 "; 
     428#endif 
    421429          return 0; 
    422430        } 
     
    435443          if (0 || pruneInvalidRays) 
    436444                return 0; 
    437            
     445 
     446#if DEBUG_PROCESS_RAY 
     447                cout<<"I2 "; 
     448#endif 
     449 
    438450          // reset both contributions of this ray 
    439451          hitA.mObject = NULL; 
     
    459471                                                          hitB.mPoint, 
    460472                                                          clipA, 
    461                                                           clipB)) 
     473                                                          clipB)) { 
     474#if DEBUG_PROCESS_RAY 
     475                cout<<"I3 "; 
     476#endif 
     477 
    462478                return 0; 
     479          } 
    463480 
    464481          if (!pruneInvalidRays || hitA.mObject) { 
Note: See TracChangeset for help on using the changeset viewer.