Changeset 3238 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src
- Timestamp:
- 01/02/09 03:37:07 (16 years ago)
- 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 50 50 if (tech->IsDepthWriteEnabled() != mBuckets[idx]->mDepthWriteEnabled) { return false; } 51 51 52 //if (tech->IsColorWriteEnabled()) cout << "x";53 54 52 const bool hasTexture = (tech->GetTexture() != NULL); 55 53 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ResourceManager.cpp
r3237 r3238 109 109 int shapeId; 110 110 str.read(reinterpret_cast<char *>(&shapeId), sizeof(int)); 111 cout<<"x";112 111 113 112 Geometry *geom = mGeometryTable[shapeId]; 114 cout<<"y";115 116 113 Material *mat = mMaterialTable[shapeId]; 117 cout<<"z";118 114 // create shape 119 115 Shape *shape = new Shape(geom, mat); 120 cout<<"w";121 116 122 117 mShapes.push_back(shape); -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Shape.cpp
r3236 r3238 15 15 mGeometry(geometry), 16 16 mMaterial(mat) 17 { std::cout<<"i";17 { 18 18 mCenter = GetBoundingBox().Center(); 19 std::cout<<"R";19 20 20 } 21 21 -
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.