- Timestamp:
- 12/01/05 18:50:06 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/SamplingPreprocessor.h
r440 r441 37 37 38 38 /** Casts a bundle of sample rays into the scene. 39 @param sampleContributions the number of sample contributions 40 @param contributingSamples the number of samples contributing 39 41 */ 40 int CastRays(const RayContainer &rays, 41 int &sampleContribtion, 42 int &contributingSamples); 42 void 43 CastRays(const RayContainer &rays, 44 int &sampleContributions, 45 int &contributingSamples); 43 46 44 /** Casts a ray into the scene. 47 /** Casts a single ray into the scene. 48 @returns sample contributions 45 49 */ 46 int 47 CastRay(const Ray &ray); 50 int CastRay(Ray &ray); 48 51 49 52 /** Verify if the exact visibility for this object was established. … … 55 58 along the visibility skeleton. 56 59 */ 57 int CastEdgeSamples( 58 Intersectable *object, 59 const Vector3 &point, 60 MeshInstance *mi, 61 const int samples 62 ); 60 int 61 CastEdgeSamples( 62 Intersectable *object, 63 const Vector3 &point, 64 MeshInstance *mi, 65 const int samples 66 ); 63 67 64 68 /** Processes the view cells during a pass. 65 @param ray the current ray66 69 @param newRays the newly cast rays 70 @param sampleContributions returns the accumulated contribution of the samples 67 71 @param contributingSamples returns the samples contributing to pvs 68 @param sampleContributions returns the accumulated 69 contribution of the samples 70 */ 72 */ 71 73 72 void ProcessViewCells(const Ray &ray,74 void ProcessViewCells(const RayContainer &newRays, 73 75 const ObjectContainer &objects, 74 int & contributingSamples,75 int & sampleContributions);76 int &sampleContributions, 77 int &contributingSamples); 76 78 77 79 /** Adds objects samples to kd and bsp view cells.
Note: See TracChangeset
for help on using the changeset viewer.