Changeset 2615 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 01/19/08 05:28:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r2614 r2615 369 369 { 370 370 #if DYNAMIC_OBJECTS_HACK 371 372 #if USE_TRANSFORMED_MESH_INSTANCE_HACK 371 373 if (ray.mTerminationObject->Type() == Intersectable::TRANSFORMED_MESH_INSTANCE) 372 374 return ray.mTerminationObject; 375 #else 376 if (ray.mTerminationObject->Type() == Intersectable::SCENEGRAPHLEAF_INTERSECTABLE) 377 return ray.mTerminationObject; 378 #endif 379 373 380 #endif 374 381 if (mUseKdPvs) … … 3359 3366 // $$ warning collect objects takes only unmailed ones! 3360 3367 if (mUseKdPvs) { 3361 //GetPreprocessor()->mKdTree->CollectKdObjects(box, objects);3362 GetPreprocessor()->mKdTree->CollectSmallKdObjects(box, objects, 0.1f);3368 GetPreprocessor()->mKdTree->CollectKdObjects(box, objects); 3369 //GetPreprocessor()->mKdTree->CollectSmallKdObjects(box, objects, 0.1f); 3363 3370 3364 3371 } else … … 3370 3377 { 3371 3378 Intersectable *o = *noi; 3379 3372 3380 // $$ JB warning: pdfs are not correct at this point! 3373 3381 pvs.AddSampleDirty(o, Limits::Small);
Note: See TracChangeset
for help on using the changeset viewer.