Ignore:
Timestamp:
01/02/09 03:37:07 (15 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/App/Demos/Vis/FriendlyCulling/src
Files:
4 edited

Legend:

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

    r3114 r3238  
    5050        if (tech->IsDepthWriteEnabled() != mBuckets[idx]->mDepthWriteEnabled) { return false; } 
    5151 
    52         //if (tech->IsColorWriteEnabled()) cout << "x"; 
    53  
    5452        const bool hasTexture = (tech->GetTexture() != NULL); 
    5553 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ResourceManager.cpp

    r3237 r3238  
    109109                        int shapeId; 
    110110                        str.read(reinterpret_cast<char *>(&shapeId), sizeof(int)); 
    111 cout<<"x"; 
    112111 
    113112                        Geometry *geom = mGeometryTable[shapeId]; 
    114 cout<<"y"; 
    115  
    116113                        Material *mat = mMaterialTable[shapeId]; 
    117 cout<<"z"; 
    118114                        // create shape 
    119115                        Shape *shape = new Shape(geom, mat); 
    120 cout<<"w"; 
    121116 
    122117                        mShapes.push_back(shape); 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Shape.cpp

    r3236 r3238  
    1515mGeometry(geometry),  
    1616mMaterial(mat) 
    17 {       std::cout<<"i"; 
     17{        
    1818        mCenter = GetBoundingBox().Center(); 
    19         std::cout<<"R"; 
     19         
    2020} 
    2121 
  • 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.