Changeset 464 for trunk/VUT/GtpVisibilityPreprocessor/src/VssRay.h
- Timestamp:
- 12/14/05 15:25:44 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssRay.h
r463 r464 44 44 Intersectable *mOriginObject; 45 45 Intersectable *mTerminationObject; 46 46 47 //////////////////////// 48 // members related to importance sampling 49 // sampling pass in which this ray was generated 50 short mPass; 51 52 // number of cells where this ray made a contribution to the PVS 53 short mPvsContribution; 54 55 // sum of relative ray contributions per object 56 float mRelativePvsContribution; 57 47 58 ////////////////////////////// 48 VssRay(const Vector3 &origin, 59 VssRay( 60 const Vector3 &origin, 49 61 const Vector3 &termination, 50 62 Intersectable *originObject, 51 Intersectable *terminationObject): 63 Intersectable *terminationObject, 64 const int pass = 0 65 ): 52 66 mMailbox(-1), 53 67 mOrigin(origin), … … 56 70 mTerminationObject(terminationObject), 57 71 mRefCount(0), 58 mFlags(0) 72 mFlags(0), 73 mPass(pass) 59 74 // mT(1.0f) 60 75 { … … 66 81 mFlags(0), 67 82 mMailbox(-1), 68 mOriginObject(ray.sourceObject.mObject) 83 mOriginObject(ray.sourceObject.mObject), 84 mPass(0) 69 85 // mT(1.0f) 70 86 { … … 223 239 ); 224 240 241 void 242 GenerateExtendedConvexCombinationWeights2(float &w1, 243 float &w2, 244 const float overlap 245 ); 246 225 247 // -------------------------------------------------------------- 226 248 // For sorting rays
Note: See TracChangeset
for help on using the changeset viewer.