Ignore:
Timestamp:
11/24/05 18:38:19 (19 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/SamplingPreprocessor.cpp

    r429 r430  
    574574                int pvsSize = 0; 
    575575 
     576                Debug << "overall scene size: " << (int)objects.size() << endl; 
     577                 
    576578                BspViewCellsStatistics stat; 
    577                  
    578                 Debug << "overall scene size: " << (int)objects.size() << endl; 
    579579                mBspTree->EvaluateViewCellsStats(stat); 
    580                  
    581580                Debug << "original view cell partition:\n" << stat << endl; 
    582581                 
     
    820819        { 
    821820                // store samples for vsp kd tree construction 
    822                 if ((object || !ray.intersections.empty()) &&  
    823                         ((int)mVspSampleRays.size() < mVspConstructionSamples)) 
    824                 { 
    825                         ray.sourceObject = Ray::Intersection(0.0, object, faceIndex); 
    826                         VssRay *sRay = new VssRay(ray); 
    827                         mVspSampleRays.push_back(sRay); 
     821                if ((int)mVspSampleRays.size() < mVspConstructionSamples) 
     822                { 
     823                        if (object || !ray.intersections.empty()) 
     824                        { 
     825                                ray.sourceObject = Ray::Intersection(0.0, object, faceIndex); 
     826                                VssRay *sRay = new VssRay(ray); 
     827                                mVspSampleRays.push_back(sRay); 
     828                        } 
    828829                } 
    829830                else 
Note: See TracChangeset for help on using the changeset viewer.