Ignore:
Timestamp:
12/26/08 03:40:45 (16 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/Bvh.cpp

    r3235 r3236  
    267267        mVboId = -1; 
    268268        // bound the maximal depth of the dynamic branch 
    269         mMaxDepthForDynamicBranch = 10; 
     269        mMaxDepthForDynamicBranch = 1; 
    270270} 
    271271 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ResourceManager.cpp

    r3226 r3236  
    109109                        int shapeId; 
    110110                        str.read(reinterpret_cast<char *>(&shapeId), sizeof(int)); 
     111cout<<"x"; 
    111112 
    112113                        Geometry *geom = mGeometryTable[shapeId]; 
     114cout<<"y"; 
     115 
    113116                        Material *mat = mMaterialTable[shapeId]; 
    114  
     117cout<<"z"; 
    115118                        // create shape 
    116119                        Shape *shape = new Shape(geom, mat); 
     120cout<<"w"; 
     121 
    117122                        mShapes.push_back(shape); 
    118123 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Shape.cpp

    r3114 r3236  
    1515mGeometry(geometry),  
    1616mMaterial(mat) 
    17 { 
     17{       std::cout<<"i"; 
    1818        mCenter = GetBoundingBox().Center(); 
     19        std::cout<<"R"; 
    1920} 
    2021 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp

    r3235 r3236  
    578578 
    579579 
    580         //LoadModel("vienna_full_hp.dem", dynamicObjects); 
    581         //dynamicObjects.back()->GetTransform()->SetMatrix(transl); 
     580        LoadModel("vienna_full_hp.dem", dynamicObjects); 
     581        dynamicObjects.back()->GetTransform()->SetMatrix(transl); 
    582582 
    583583 
Note: See TracChangeset for help on using the changeset viewer.