Ignore:
Timestamp:
01/18/08 16:28:30 (16 years ago)
Author:
mattausch
Message:

worked on dynamic objects

File:
1 edited

Legend:

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

    r2588 r2614  
    584584        } 
    585585 
     586 
    586587        for(; it != vssRays.end(); ++it)  
    587588        { 
    588589                VssRay *ray = *it; 
    589590 
    590                 //cout << " here4 " << ray->GetDir(); 
     591                //if (ray->mTerminationObject->Type() == Intersectable::TRANSFORMED_MESH_INSTANCE) 
     592                //      cout << "found transofrmed mesh instance: " << Intersectable::GetTypeName(ray->mTerminationObject) << " " << endl; 
    591593 
    592594                for (i=0; i < mDistributions.size()-1; i++)  
     
    596598                } 
    597599 
    598                 float contribution = 
    599                         mPreprocessor.mViewCellsManager->ComputeSampleContribution(*ray, 
    600                         true, 
    601                         false); 
     600                const float contribution = 
     601                        mPreprocessor.mViewCellsManager->ComputeSampleContribution(*ray, true, false); 
    602602 
    603603                mDistributions[i]->mContribution += contribution; 
Note: See TracChangeset for help on using the changeset viewer.