Rev | Line | |
---|
[871] | 1 | #ifndef _RenderSampler_H__
|
---|
| 2 | #define _RenderSampler_H__
|
---|
| 3 |
|
---|
| 4 | #include <fstream>
|
---|
| 5 | using namespace std;
|
---|
| 6 |
|
---|
| 7 | #include "Preprocessor.h"
|
---|
| 8 |
|
---|
| 9 | namespace GtpVisibilityPreprocessor {
|
---|
| 10 |
|
---|
| 11 | class Exporter;
|
---|
| 12 |
|
---|
| 13 | /** Sampling based visibility preprocessing. The implementation is based on heuristical
|
---|
| 14 | sampling of view space */
|
---|
| 15 | class RenderSampler : public Preprocessor {
|
---|
| 16 |
|
---|
| 17 | public:
|
---|
| 18 | int mSamples;
|
---|
| 19 |
|
---|
| 20 | RenderSampler();
|
---|
| 21 | ~RenderSampler() {}
|
---|
| 22 |
|
---|
| 23 | virtual bool ComputeVisibility();
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | protected:
|
---|
| 27 | ofstream mStats;
|
---|
| 28 |
|
---|
| 29 | };
|
---|
| 30 |
|
---|
| 31 | };
|
---|
| 32 |
|
---|
| 33 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.