Ignore:
Timestamp:
01/19/08 05:28:24 (16 years ago)
Author:
mattausch
Message:

did some stuff for the visualization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r2614 r2615  
    369369{ 
    370370#if DYNAMIC_OBJECTS_HACK 
     371 
     372#if USE_TRANSFORMED_MESH_INSTANCE_HACK 
    371373        if (ray.mTerminationObject->Type() == Intersectable::TRANSFORMED_MESH_INSTANCE) 
    372374                return ray.mTerminationObject; 
     375#else 
     376        if (ray.mTerminationObject->Type() == Intersectable::SCENEGRAPHLEAF_INTERSECTABLE) 
     377                return ray.mTerminationObject; 
     378#endif 
     379 
    373380#endif 
    374381        if (mUseKdPvs) 
     
    33593366                        // $$ warning collect objects takes only unmailed ones! 
    33603367                        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); 
    33633370 
    33643371                        } else 
     
    33703377                          { 
    33713378                                Intersectable *o = *noi; 
     3379                                 
    33723380                                // $$ JB warning: pdfs are not correct at this point!      
    33733381                                pvs.AddSampleDirty(o, Limits::Small); 
Note: See TracChangeset for help on using the changeset viewer.