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/VrmlExporter.cpp

    r1139 r1141  
    261261 
    262262                                mForcedMaterial.mDiffuseColor.b = 1.0f; 
    263                                 const float importance = (float)leaf->GetViewCell()->GetPvs().GetSize() / (float)maxPvs; 
     263                                const float importance = (float)leaf->GetViewCell()->GetPvs().CountPvs() / (float)maxPvs; 
    264264 
    265265                                mForcedMaterial.mDiffuseColor.r = importance; 
Note: See TracChangeset for help on using the changeset viewer.