Changeset 1769 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 11/20/06 11:35:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1768 r1769 551 551 552 552 ///////////////// 553 //-- Finally, we do some visualization553 //-- Show some visualizations 554 554 555 555 if (mShowVisualization) 556 556 { 557 cout << "************************\n*********************\n"; 558 if (0) 559 { 560 strategies.clear(); 561 strategies.push_back(SamplingStrategy::VIEWCELL_BORDER_BASED_DISTRIBUTION); 562 } 563 557 564 /////////////// 558 565 //-- visualization rays, e.g., to show some samples in the scene … … 5501 5508 int leafOut; 5502 5509 Environment::GetSingleton()->GetIntValue("ViewCells.Visualization.maxOutput", leafOut); 5510 5511 const bool sortViewCells = false; 5512 const bool exportPvs = true; 5513 const bool exportRays = true; 5503 5514 const int raysOut = 100; 5504 5515 5505 ExportSingleViewCells(objects, leafOut, false, true, false, raysOut, ""); 5516 ExportSingleViewCells(objects, 5517 leafOut, 5518 sortViewCells, 5519 exportPvs, 5520 exportRays, 5521 raysOut, 5522 ""); 5506 5523 } 5507 5524 … … 5943 5960 strategies.push_back(SamplingStrategy::SPATIAL_BOX_BASED_DISTRIBUTION); 5944 5961 strategies.push_back(SamplingStrategy::REVERSE_OBJECT_BASED_DISTRIBUTION); 5945 5962 //strategies.push_back(SamplingStrategy::VIEWCELL_BORDER_BASED_DISTRIBUTION); 5946 5963 cout << "reseting pvs ... "; 5947 5964
Note: See TracChangeset
for help on using the changeset viewer.