Changeset 376 for trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.h
- Timestamp:
- 11/03/05 19:31:56 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.h
r374 r376 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 … … 13 13 public: 14 14 int mPass; 15 16 15 int mSamplesPerPass; 17 16 int mTotalSamples; 18 int mKdPvsDepth;19 17 ofstream mStats; 18 20 19 ObjectContainer mObjects; 21 RayContainer mSampleRays; 20 21 // rays cast during the processing 22 VssRayContainer mVssRays; 22 23 23 24 VssPreprocessor(); 24 25 25 ~VssPreprocessor(); 26 26 27 27 virtual bool ComputeVisibility(); 28 28 29 Vector3 30 GetViewpoint(); 31 32 Vector3 33 GetDirection(const Vector3 &viewpoint); 34 29 35 void 30 36 SetupRay(Ray &ray, … … 33 39 ); 34 40 35 KdNode *36 GetNodeForPvs(KdLeaf *leaf);37 41 38 int 39 AddNodeSamples(const Ray &ray, 40 Intersectable *sObject, 41 Intersectable *tObject 42 ); 42 43 VssRay * 44 CastRay( 45 Vector3 &viewPoint, 46 Vector3 &direction 47 ); 48 43 49 44 int45 CastRay(Intersectable *object,46 Ray &ray);47 50 48 KdNode *49 GetNodeToSample(Intersectable *object);50 51 51 virtual bool BuildBspTree() { return false; } 52 52
Note: See TracChangeset
for help on using the changeset viewer.