Changeset 1784 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 11/23/06 12:25:16 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1778 r1784 330 330 ) const 331 331 { 332 long startTime = GetTime(); 333 332 334 SimpleRayContainer simpleRays; 333 long startTime = GetTime(); 335 336 simpleRays.reserve(samplesPerPass); 337 passSamples.reserve(samplesPerPass * 2); // always creates double rays 334 338 335 339 // create one third of each type … … 349 353 } 350 354 351 cout << "generated " << samplesPerPass << " samples in " << TimeDiff(startTime, GetTime()) * 1e-3 << " secs" << endl; 355 cout << "generated " << samplesPerPass << " samples in " 356 << TimeDiff(startTime, GetTime()) * 1e-3 << " secs" << endl; 352 357 353 358 startTime = GetTime(); 359 354 360 // shoot simple ray and add it to importance samples 355 361 mPreprocessor->CastRays(simpleRays, passSamples, true); 356 cout << "cast " << samplesPerPass << " samples in " << TimeDiff(startTime, GetTime()) * 1e-3 << " secs" << endl; 362 cout << "cast " << samplesPerPass << " samples in " 363 << TimeDiff(startTime, GetTime()) * 1e-3 << " secs" << endl; 357 364 358 365 return (int)passSamples.size();
Note: See TracChangeset
for help on using the changeset viewer.