Changeset 2005 for GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
- Timestamp:
- 01/21/07 22:08:23 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
r2004 r2005 475 475 476 476 // assign the objects in sorted order 477 if ( !TEST_POWERPLANT &&mUseGlobalSorting)477 if (mUseGlobalSorting) 478 478 { 479 479 AssignSortedObjects(sc, frontData, backData); … … 2226 2226 // create bvh traversal data 2227 2227 BvhTraversalData oData(bvhLeaf, 0, prop, nRays); 2228 cout << "here4" << endl; 2228 2229 2229 2230 // create sorted object lists for the first data 2230 if ( !TEST_POWERPLANT &&mUseGlobalSorting)2231 if (mUseGlobalSorting) 2231 2232 { 2232 2233 AssignInitialSortedObjectList(oData, objects); 2233 2234 } 2234 2235 2235 2236 cout << "here6" << endl; 2236 2237 /////////////////// 2237 2238 //-- add first candidate for object space partition … … 2294 2295 for (int i = 0; i < 3; ++ i) 2295 2296 { 2297 cout << "here2 " << endl; 2296 2298 SortableEntryContainer *sortedObjects = new SortableEntryContainer(); 2297 2299 … … 2314 2316 delete sortedObjects; 2315 2317 } 2316 2318 cout << "here102" << endl; 2317 2319 // last sorted list: by size 2318 2320 tData.mSortedObjects[3] = new ObjectContainer(); … … 2393 2395 BvhTraversalData oData(bvhLeaf, 0, prop, nRays); 2394 2396 2395 if ( !TEST_POWERPLANT &&mUseGlobalSorting)2397 if (mUseGlobalSorting) 2396 2398 AssignInitialSortedObjectList(oData, objects); 2397 2399
Note: See TracChangeset
for help on using the changeset viewer.