Changeset 1643 for GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
- Timestamp:
- 10/19/06 04:29:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
r1640 r1643 221 221 222 222 223 //////////////////////////////////// /////////////////////////223 //////////////////////////////////// 224 224 //-- termination criteria for autopartition 225 225 226 Environment::GetSingleton()->GetIntValue("BvHierarchy.Termination.maxDepth", mTermMaxDepth); 226 227 Environment::GetSingleton()->GetIntValue("BvHierarchy.Termination.maxLeaves", mTermMaxLeaves); … … 249 250 Environment::GetSingleton()->GetFloatValue("BvHierarchy.maxStaticMemory", mMaxMemory); 250 251 Environment::GetSingleton()->GetBoolValue("BvHierarchy.useCostHeuristics", mUseCostHeuristics); 251 252 Environment::GetSingleton()->GetBoolValue("BvHierarchy.useSah", mUseSah); 253 252 254 char subdivisionStatsLog[100]; 253 255 Environment::GetSingleton()->GetStringValue("BvHierarchy.subdivisionStats", subdivisionStatsLog); … … 1246 1248 //-- split objects using heuristics 1247 1249 1248 if (mHierarchyManager->GetViewSpaceSubdivisionType() == 1249 HierarchyManager::KD_BASED_VIEWSPACE_SUBDIV) 1250 if (!mUseSah && 1251 (mHierarchyManager->GetViewSpaceSubdivisionType() == 1252 HierarchyManager::KD_BASED_VIEWSPACE_SUBDIV)) 1250 1253 { 1251 1254 ///////////
Note: See TracChangeset
for help on using the changeset viewer.