Changeset 427 for trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.h
- Timestamp:
- 11/22/05 20:51:37 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.h
r403 r427 8 8 #include "VssRay.h" 9 9 class VssTree; 10 class VssTreeLeaf; 10 11 11 12 /** Sampling based visibility preprocessing. The implementation is based on heuristical … … 15 16 int mPass; 16 17 int mSamplesPerPass; 18 int mVssSamplesPerPass; 17 19 int mInitialSamples; 18 20 int mVssSamples; 19 21 bool mUseImportanceSampling; 22 23 AxisAlignedBox3 *mViewSpaceBox; 20 24 21 25 ofstream mStats; … … 35 39 36 40 Vector3 37 GetDirection(const Vector3 &viewpoint); 41 GetDirection(const Vector3 &viewpoint, 42 AxisAlignedBox3 *viewSpaceBox 43 ); 38 44 39 45 void … … 57 63 virtual bool BuildBspTree() { return false; } 58 64 65 66 bool 67 ExportRays(const char *filename, 68 const VssRayContainer &vssRays, 69 const int number 70 ); 71 59 72 int 60 RandomizedImportanceSampling(VssTree *vssTree, const int desiredSamples); 73 GenerateImportanceRays(VssTree *vssTree, 74 const int desiredSamples, 75 SimpleRayContainer &rays 76 ); 61 77 78 79 bool 80 ExportVssTreeLeaf(char *filename, 81 VssTree *tree, 82 VssTreeLeaf *leaf); 83 84 void 85 ExportVssTreeLeaves(VssTree *tree, const int number); 86 87 62 88 }; 63 89
Note: See TracChangeset
for help on using the changeset viewer.