- Timestamp:
- 11/15/05 01:32:10 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/SamplingPreprocessor.h
r409 r411 6 6 7 7 #include "Preprocessor.h" 8 8 #include "VssRay.h" 9 9 10 10 /** Sampling based visibility preprocessing. The implementation is based on heuristical … … 14 14 15 15 SamplingPreprocessor(); 16 17 16 ~SamplingPreprocessor(); 18 17 19 18 virtual bool ComputeVisibility(); 20 19 20 21 21 protected: 22 int mPass;23 24 int mSamplesPerPass;25 int mTotalSamples;26 int mKdPvsDepth;27 ofstream mStats;28 ObjectContainer mObjects;29 RayContainer mSampleRays;30 int mBspConstructionSamples;31 int mPostProcessSamples;32 int mVisualizationSamples;33 34 22 void 35 23 SetupRay(Ray &ray, … … 81 69 int &sampleContributions); 82 70 71 void ProcessVspViewCells(const Ray &ray, 72 Intersectable *object, 73 const int faceIndex, 74 int &contributingSamples, 75 int &sampleContributions); 76 83 77 /** Adds objects samples to bsp view cells. 84 78 */ … … 98 92 */ 99 93 int PostprocessViewCells(const RayContainer &rays); 94 95 protected: 96 int mPass; 97 int mSamplesPerPass; 98 int mTotalSamples; 99 int mKdPvsDepth; 100 ofstream mStats; 101 ObjectContainer mObjects; 102 103 RayContainer mSampleRays; 104 VssRayContainer mVspSampleRays; 105 int mBspConstructionSamples; 106 int mVspConstructionSamples; 107 108 int mPostProcessSamples; 109 int mVisualizationSamples; 110 100 111 }; 101 112
Note: See TracChangeset
for help on using the changeset viewer.