Changeset 549 for trunk/VUT/GtpVisibilityPreprocessor/src/RssTree.cpp
- Timestamp:
- 01/18/06 04:55:43 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/RssTree.cpp
r537 r549 2088 2088 } 2089 2089 } 2090 2090 2091 float extendedConvexCombinationProb = 0.0f; //0.7f 2092 float silhouetteCheckPercentage = 0.0f; //0.5f 2091 2093 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)); 2093 2096 2094 2097 Vector3 origin, direction; … … 2163 2166 2164 2167 2165 if (i > numberOfRays /2) {2168 if (i > numberOfRays*(1.0f - silhouetteCheckPercentage)) { 2166 2169 if (exporter) { 2167 2170 VssRay *ray = new VssRay(origin, origin + 100*direction, NULL, NULL);
Note: See TracChangeset
for help on using the changeset viewer.