- Timestamp:
- 09/13/06 18:03:30 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
r1357 r1359 227 227 "BvHierarchy.Construction.renderCostDecreaseWeight", mRenderCostDecreaseWeight); 228 228 229 Environment::GetSingleton()->GetBoolValue("BvHierarchy. useGlobalSort", mUseGlobalSorting);230 231 232 /////////////////// 229 Environment::GetSingleton()->GetBoolValue("BvHierarchy.Construction.useGlobalSorting", mUseGlobalSorting); 230 231 232 ///////////////////////////////// 233 233 //-- debug output 234 234 235 Debug << "******* Bvh hierarchy options ******** " << endl; 235 236 Debug << "max depth: " << mTermMaxDepth << endl; … … 1153 1154 Debug << "\nbvh render cost\n" 1154 1155 << "back p: " << pBack / viewSpaceVol << " front p " << pFront / viewSpaceVol << endl 1155 << "new rc: " << newRenderCost / viewSpaceVol << endl; */1156 << "new rc: " << newRenderCost / viewSpaceVol << endl; 1156 1157 #endif 1157 1158 1158 return newRenderCost; 1159 1159 } … … 1596 1596 for (int i = 0; i < 3; ++ i) 1597 1597 { 1598 frontData.mSortedObjects[i] = new ObjectContainer(); 1599 backData.mSortedObjects[i] = new ObjectContainer(); 1600 1598 1601 frontData.mSortedObjects[i]->reserve((int)sc.mFrontObjects.size()); 1599 1602 backData.mSortedObjects[i]->reserve((int)sc.mFrontObjects.size()); -
GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp
r1314 r1359 2390 2390 "bvh_construction_render_cost_decrease_weight=", 2391 2391 "0.99"); 2392 2393 2394 /*******************************************************************/ 2395 /* Hierarchy Manager related options */ 2396 /*******************************************************************/ 2392 2393 RegisterOption("BvHierarchy.Construction.useGlobalSorting", 2394 optBool, 2395 "bvh_construction_use_global_sorting=", 2396 "false"); 2397 2398 2399 /*******************************************************************/ 2400 /* Hierarchy Manager related options */ 2401 /*******************************************************************/ 2397 2402 2398 2403 RegisterOption("Hierarchy.subdivisionStats", … … 2435 2440 "hierarchy_construction_repair_queue=", 2436 2441 "true"); 2442 2437 2443 2438 2444 ////////////////////////////////////////////////////////////////////////////////// -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r1344 r1359 1006 1006 ) 1007 1007 { 1008 cout << "internal ray" << endl;1008 //cout << "internal ray" << endl; 1009 1009 int hits = 0; 1010 1010 static Ray ray; -
GTP/trunk/Lib/Vis/Preprocessing/src/VssTree.cpp
r1302 r1359 280 280 delete root; 281 281 282 root = new VssTreeLeaf(NULL, rays.size());282 root = new VssTreeLeaf(NULL, (int)rays.size()); 283 283 // first construct a leaf that will get subdivide 284 284 VssTreeLeaf *leaf = (VssTreeLeaf *) root; … … 321 321 cout<<"Dirr Bbox = "<<dirBBox<<endl; 322 322 323 stat.rays = leaf->rays.size();323 stat.rays = (int)leaf->rays.size(); 324 324 leaf->UpdatePvsSize(); 325 325 leaf->ComputeEntropyImportance();
Note: See TracChangeset
for help on using the changeset viewer.