Changeset 448 for trunk/VUT/GtpVisibilityPreprocessor/src/RenderSimulator.h
- Timestamp:
- 12/05/05 04:42:54 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/RenderSimulator.h
r441 r448 9 9 class ViewCell; 10 10 class KdLeaf; 11 class VspBspTree; 11 12 12 13 class SimulationStatistics: public StatisticsBase … … 105 106 Real RenderPvs(ViewCell &viewCell, const float objRenderTime) const; 106 107 108 private: 107 109 BspTree *mBspTree; 110 }; 111 112 class VspBspRenderSimulator: public RenderSimulator 113 { 114 public: 115 VspBspRenderSimulator(VspBspTree *vspBspTree); 116 117 VspBspRenderSimulator(float objRenderCost, 118 float vcOverhead, 119 float moveSpeed, 120 VspBspTree *vspBspTree); 121 122 SimulationStatistics SimulateRendering(); 123 124 protected: 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 131 private: 132 VspBspTree *mVspBspTree; 108 133 }; 109 134
Note: See TracChangeset
for help on using the changeset viewer.