- Timestamp:
- 11/14/05 15:59:20 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/SamplingPreprocessor.cpp
r407 r409 17 17 environment->GetIntValue("ViewCells.PostProcessing.samples", mPostProcessSamples); 18 18 environment->GetIntValue("BspTree.Visualization.samples", mVisualizationSamples); 19 environment->GetFloatValue("Simulation.objRenderCost", mObjRenderCost); 20 environment->GetFloatValue("Simulation.vcOverhead", mVcOverhead); 21 19 22 20 mKdPvsDepth = 100; 23 21 mStats.open("stats.log"); 24 25 22 } 26 23 … … 543 540 //-- render simulation 544 541 cout << "\nevaluating bsp view cells render time before merge ... "; 545 Real rt = BspTreeRenderSimulator(mObjRenderCost, mVcOverhead, mBspTree).SimulateRendering();542 Real rt = GetRenderSimulator()->SimulateRendering(); 546 543 547 544 cout << "avg render time: " << rt * 1e-3 << endl; … … 589 586 cout << "\nevaluating render time after merge ... "; 590 587 591 rt = BspTreeRenderSimulator(mObjRenderCost, mVcOverhead, mBspTree).SimulateRendering();588 rt = GetRenderSimulator()->SimulateRendering(); 592 589 593 590 cout << "render time: " << rt * 1e-3 << endl; … … 655 652 { 656 653 cout << "\nevaluating kd view cells render time ... "; 657 Real rt = KdTreeRenderSimulator(mObjRenderCost, mVcOverhead, mKdTree).SimulateRendering();654 Real rt = GetRenderSimulator()->SimulateRendering(); 658 655 659 656 cout << "avg render time: " << rt * 1e-3 << endl;
Note: See TracChangeset
for help on using the changeset viewer.