- Timestamp:
- 12/05/05 05:21:22 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/RenderSimulator.cpp
r448 r449 4 4 #include "ViewCell.h" 5 5 #include "VspBspTree.h" 6 6 #include "VspKdTree.h" 7 7 8 8 void SimulationStatistics::Print(ostream &app) const … … 148 148 } 149 149 150 /******************************************************* *151 * class KdLeafRenderSimulator implementation * 152 150 /*******************************************************/ 151 /* class KdenderSimulator implementation */ 152 /*******************************************************/ 153 153 154 154 KdRenderSimulator::KdRenderSimulator(float objRenderCost, … … 242 242 /* class BspRenderSimulator implementation */ 243 243 /********************************************************/ 244 244 245 VspBspRenderSimulator::VspBspRenderSimulator(VspBspTree *vspBspTree): 245 246 mVspBspTree(vspBspTree) … … 334 335 return viewCell.GetPvs().GetSize() * objRenderTime; 335 336 } 337 338 339 340 /********************************************************/ 341 /* class BspRenderSimulator implementation */ 342 /********************************************************/ 343 344 345 VspKdRenderSimulator::VspKdRenderSimulator(VspKdTree *vspKdTree): 346 mVspKdTree(vspKdTree) 347 { 348 } 349 350 VspKdRenderSimulator::VspKdRenderSimulator(float objRenderCost, 351 float vcOverhead, 352 float moveSpeed, 353 VspKdTree *vspKdTree): 354 RenderSimulator(objRenderCost, vcOverhead, moveSpeed), 355 mVspKdTree(vspKdTree) 356 { 357 } 358 359 SimulationStatistics VspKdRenderSimulator::SimulateRendering() 360 { 361 SimulationStatistics simStat; 362 363 simStat.Reset(); 364 simStat.Start(); 365 366 // TODO 367 simStat.Stop(); 368 369 return simStat; 370 } 371 372 Real VspKdRenderSimulator::RenderPvs(ViewCell &viewCell, 373 float objRenderTime) const 374 { 375 return 0; // TODO 376 }
Note: See TracChangeset
for help on using the changeset viewer.