Changeset 2003 for GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
- Timestamp:
- 01/21/07 00:40:56 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
r2001 r2003 748 748 749 749 Vector3 point; 750 Vector3 normal, normal2; 751 750 Vector3 normal; 751 752 //Vector normalObj; 752 753 // float r[1]; 753 754 // sHalton.GetNext(1, r); … … 769 770 770 771 // get point on view cell surface 771 mViewCell->GetRandomSurfacePoint(origin, normal 2);772 mViewCell->GetRandomSurfacePoint(origin, normal); 772 773 773 774 //direction = point - origin; … … 775 776 // move a little bit back to avoid piercing through walls 776 777 // that bound the view cell 777 origin -= 0.01f * normal 2;778 origin -= 0.01f * normal; 778 779 779 780 // $$ jb the pdf is yet not correct for all sampling methods!
Note: See TracChangeset
for help on using the changeset viewer.