- Timestamp:
- 12/15/06 23:40:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingPreprocessor.cpp
r1883 r1900 87 87 int intersectables, faces; 88 88 mSceneGraph->GetStatistics(intersectables, faces); 89 HaltonSequence halton; 89 90 90 91 int samples = 0; … … 99 100 cout<<"+"; 100 101 102 float r[5]; 103 halton.GetNext(5, r); 101 104 Vector3 origin, direction; 102 mViewCellsManager->GetViewPoint( origin);105 mViewCellsManager->GetViewPoint(origin, Vector3(r[0], r[1], r[2])); 103 106 104 direction = UniformRandomVector( );107 direction = UniformRandomVector(r[3],r[4]); 105 108 ViewCell *viewcell = mViewCellsManager->GetViewCell(origin); 106 109
Note: See TracChangeset
for help on using the changeset viewer.