Changeset 3243 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 01/02/09 23:07:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r3242 r3243 58 58 #include "WalkThroughRecorder.h" 59 59 #include "StatsWriter.h" 60 #include "VisibilitySolutionLoader.h" 61 #include "ViewCellsTree.h" 60 62 61 63 … … 127 129 128 130 string filename("city"); 131 string visibilitySolution(""); 129 132 130 133 … … 430 433 env.GetStringParam(string("statsFilename"), statsFilename); 431 434 env.GetStringParam(string("filename"), filename); 435 env.GetStringParam(string("visibilitySolution"), visibilitySolution); 432 436 433 437 //env.GetStringParam(string("modelPath"), model_path); … … 461 465 cout << "stats filename: " << statsFilename << endl; 462 466 cout << "filename: " << filename << endl; 467 cout << "visibilitySolution: " << visibilitySolution << endl; 468 463 469 464 470 //cout << "model path: " << model_path << endl; … … 604 610 /// set the depth of the bvh depending on the triangles per leaf node 605 611 bvh->SetVirtualLeaves(trianglesPerVirtualLeaf); 612 613 /////////// 614 //-- load the visibility solution 615 616 const string vis_filename = 617 string(model_path + visibilitySolution + ".vis"); 618 619 VisibilitySolutionLoader visLoader; 620 621 ViewCellsTree *viewCellsTree = visLoader.Load(vis_filename, bvh); 622 606 623 607 624 // set far plane based on scene extent
Note: See TracChangeset
for help on using the changeset viewer.