Ignore:
Timestamp:
01/18/06 04:55:43 (18 years ago)
Author:
bittner
Message:

rss tree tmp changes for regular sampling

File:
1 edited

Legend:

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

    r537 r549  
    20882088        } 
    20892089  } 
    2090    
     2090 
     2091  float extendedConvexCombinationProb = 0.0f; //0.7f 
     2092  float silhouetteCheckPercentage = 0.0f; //0.5f 
    20912093  for (int i=0; generated < numberOfRays && i < numberOfTries; i++) { 
    2092         bool useExtendedConvexCombination = ((nrays >= 2) && (Random(1.0f) < 0.7f)); 
     2094        bool useExtendedConvexCombination = ((nrays >= 2) && (Random(1.0f) < 
     2095                                                                                                                  extendedConvexCombinationProb)); 
    20932096         
    20942097        Vector3 origin, direction; 
     
    21632166         
    21642167 
    2165         if (i > numberOfRays/2) { 
     2168        if (i > numberOfRays*(1.0f - silhouetteCheckPercentage)) { 
    21662169          if (exporter) { 
    21672170                VssRay *ray = new VssRay(origin, origin + 100*direction, NULL, NULL); 
Note: See TracChangeset for help on using the changeset viewer.