Ignore:
Timestamp:
01/02/09 03:37:07 (15 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp

    r3237 r3238  
    5858#include "WalkThroughRecorder.h" 
    5959#include "StatsWriter.h" 
    60 #include "Halton.h" 
    6160 
    6261 
     
    127126string statsFilename("stats"); 
    128127 
     128string filename("city"); 
     129 
     130 
    129131/// the walkThroughRecorder 
    130132WalkThroughRecorder *walkThroughRecorder = NULL; 
     
    428430                env.GetStringParam(string("recordedFramesSuffix"), recordedFramesSuffix); 
    429431                env.GetStringParam(string("statsFilename"), statsFilename); 
     432                env.GetStringParam(string("filename"), filename); 
    430433 
    431434                //env.GetStringParam(string("modelPath"), model_path); 
     
    458461                cout << "recorded frames suffix: " << recordedFramesSuffix << endl; 
    459462                cout << "stats filename: " << statsFilename << endl; 
     463                cout << "filename: " << filename << endl; 
    460464 
    461465                //cout << "model path: " << model_path << endl; 
     
    528532        //-- load the static scene geometry 
    529533 
    530         LoadModel("city.dem", sceneEntities); 
     534        LoadModel(filename + ".dem", sceneEntities); 
    531535 
    532536 
     
    587591        //-- load the associated static bvh 
    588592 
    589         const string bvh_filename = string(model_path + "city.bvh"); 
     593        const string bvh_filename = string(model_path + filename + ".bvh"); 
    590594 
    591595        BvhLoader bvhLoader; 
     
    660664        frameTimer.Start(); 
    661665 
    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(); 
    669669 
    670670        // the rendering loop 
Note: See TracChangeset for help on using the changeset viewer.