Ignore:
Timestamp:
12/05/05 04:42:54 (19 years ago)
Author:
mattausch
Message:

fixed bug in VspBspTree?
view cells in VssPreprocessor?
bounding rays for vspkdtree

File:
1 edited

Legend:

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

    r441 r448  
    99class ViewCell; 
    1010class KdLeaf; 
     11class VspBspTree; 
    1112 
    1213class SimulationStatistics: public StatisticsBase 
     
    105106        Real RenderPvs(ViewCell &viewCell, const float objRenderTime) const; 
    106107 
     108private: 
    107109        BspTree *mBspTree; 
     110}; 
     111 
     112class VspBspRenderSimulator: public RenderSimulator 
     113{ 
     114public: 
     115        VspBspRenderSimulator(VspBspTree *vspBspTree); 
     116 
     117        VspBspRenderSimulator(float objRenderCost,  
     118                                                  float vcOverhead,  
     119                                                  float moveSpeed,  
     120                                                  VspBspTree *vspBspTree); 
     121 
     122        SimulationStatistics SimulateRendering(); 
     123 
     124protected: 
     125        /** Simulates rendering of the pvs of one view cell, with given rendering time for an object. 
     126                @param viewCell the view cell holding the Pvs 
     127                @param objRenderTime estimated render time for one object of the Pvs 
     128        */ 
     129        Real RenderPvs(ViewCell &viewCell, const float objRenderTime) const; 
     130 
     131private: 
     132        VspBspTree *mVspBspTree; 
    108133}; 
    109134 
Note: See TracChangeset for help on using the changeset viewer.