Ignore:
Timestamp:
12/05/05 05:21:22 (19 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/RenderSimulator.cpp

    r448 r449  
    44#include "ViewCell.h" 
    55#include "VspBspTree.h" 
    6  
     6#include "VspKdTree.h" 
    77 
    88void SimulationStatistics::Print(ostream &app) const 
     
    148148} 
    149149 
    150 /******************************************************** 
    151  *     class KdLeafRenderSimulator implementation       * 
    152  *******************************************************/ 
     150/*******************************************************/ 
     151/*     class KdenderSimulator implementation           */ 
     152/*******************************************************/ 
    153153 
    154154KdRenderSimulator::KdRenderSimulator(float objRenderCost,  
     
    242242/*     class BspRenderSimulator implementation          */ 
    243243/********************************************************/ 
     244 
    244245VspBspRenderSimulator::VspBspRenderSimulator(VspBspTree *vspBspTree): 
    245246mVspBspTree(vspBspTree) 
     
    334335        return viewCell.GetPvs().GetSize() * objRenderTime; 
    335336} 
     337 
     338 
     339 
     340/********************************************************/ 
     341/*     class BspRenderSimulator implementation          */ 
     342/********************************************************/ 
     343 
     344 
     345VspKdRenderSimulator::VspKdRenderSimulator(VspKdTree *vspKdTree): 
     346mVspKdTree(vspKdTree) 
     347{ 
     348} 
     349 
     350VspKdRenderSimulator::VspKdRenderSimulator(float objRenderCost,  
     351                                                                                   float vcOverhead,  
     352                                                                                   float moveSpeed, 
     353                                                                                   VspKdTree *vspKdTree): 
     354RenderSimulator(objRenderCost, vcOverhead, moveSpeed),  
     355mVspKdTree(vspKdTree) 
     356{ 
     357} 
     358 
     359SimulationStatistics 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 
     372Real VspKdRenderSimulator::RenderPvs(ViewCell &viewCell,  
     373                                                                          float objRenderTime) const 
     374{ 
     375        return 0; // TODO 
     376} 
Note: See TracChangeset for help on using the changeset viewer.