Ignore:
Timestamp:
11/20/06 14:02:29 (18 years ago)
Author:
bittner
Message:

merge, preparing sampling strategy support for mixed distributions, filter changes, histogram output for preprocessor

File:
1 edited

Legend:

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

    r1757 r1771  
    9696                return 0; 
    9797          } 
    98            
    9998        } 
    10099         
     
    121120        const bool validSample = !pruneInvalidRays || (hitA.mObject != hitB.mObject); 
    122121 
     122         
    123123#if DEBUG_RAYCAST 
    124124        Debug<<"PR2"<<flush; 
    125125#endif 
    126126 
    127         if (validSample)  
    128         { 
     127        if (validSample) { 
    129128          if (!pruneInvalidRays || hitA.mObject)  
    130129                { 
     
    137136                                                                          simpleRay.mPdf 
    138137                                                                          ); 
    139                    
     138                  if (validA) 
     139                        vssRay->mFlags |= VssRay::Valid; 
    140140                  vssRays.push_back(vssRay); 
    141141                  ++ hits; 
     
    157157                                                                          simpleRay.mPdf 
    158158                                                                          ); 
     159                  if (validB) 
     160                        vssRay->mFlags |= VssRay::Valid; 
    159161                   
    160162                  vssRays.push_back(vssRay); 
Note: See TracChangeset for help on using the changeset viewer.