Changeset 3238 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 01/02/09 03:37:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r3237 r3238 58 58 #include "WalkThroughRecorder.h" 59 59 #include "StatsWriter.h" 60 #include "Halton.h"61 60 62 61 … … 127 126 string statsFilename("stats"); 128 127 128 string filename("city"); 129 130 129 131 /// the walkThroughRecorder 130 132 WalkThroughRecorder *walkThroughRecorder = NULL; … … 428 430 env.GetStringParam(string("recordedFramesSuffix"), recordedFramesSuffix); 429 431 env.GetStringParam(string("statsFilename"), statsFilename); 432 env.GetStringParam(string("filename"), filename); 430 433 431 434 //env.GetStringParam(string("modelPath"), model_path); … … 458 461 cout << "recorded frames suffix: " << recordedFramesSuffix << endl; 459 462 cout << "stats filename: " << statsFilename << endl; 463 cout << "filename: " << filename << endl; 460 464 461 465 //cout << "model path: " << model_path << endl; … … 528 532 //-- load the static scene geometry 529 533 530 LoadModel( "city.dem", sceneEntities);534 LoadModel(filename + ".dem", sceneEntities); 531 535 532 536 … … 587 591 //-- load the associated static bvh 588 592 589 const string bvh_filename = string(model_path + "city.bvh");593 const string bvh_filename = string(model_path + filename + ".bvh"); 590 594 591 595 BvhLoader bvhLoader; … … 660 664 frameTimer.Start(); 661 665 662 Halton::TestHalton(7, 1); 663 Halton::TestHalton(7, 2); 664 665 HaltonSequence::TestHalton(15, 2); 666 HaltonSequence::TestHalton(15, 1); 667 668 Halton::TestPrime(); 666 //Halton::TestHalton(7, 2); 667 //HaltonSequence::TestHalton(15, 2); 668 //Halton::TestPrime(); 669 669 670 670 // the rendering loop
Note: See TracChangeset
for help on using the changeset viewer.