Ignore:
Timestamp:
07/18/06 19:03:14 (18 years ago)
Author:
mattausch
Message:

added kd pvs support, changed way of counting pvs

File:
1 edited

Legend:

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

    r1121 r1141  
    297297 
    298298                                mForcedMaterial.mDiffuseColor.b = 1.0f; 
    299                                 const float importance = (float)leaf->GetViewCell()->GetPvs().GetSize() / (float)maxPvs; 
     299                                const float importance =  
     300                                        (float)leaf->GetViewCell()->GetPvs().CountPvs() / (float)maxPvs; 
    300301 
    301302                                mForcedMaterial.mDiffuseColor.r = importance; 
Note: See TracChangeset for help on using the changeset viewer.