Ignore:
Timestamp:
11/01/06 23:20:53 (18 years ago)
Author:
mattausch
Message:

worked on full render cost evaluation
warning: some change sin render cost evaluation for pvs which could have bugs

File:
1 edited

Legend:

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

    r1545 r1707  
    247247                                mForcedMaterial.mDiffuseColor.b = 1.0f; 
    248248                                const float importance =  
    249                                         (float)leaf->GetViewCell()->GetPvs().CountObjectsInPvs() / (float)maxPvs; 
     249                                        (float)leaf->GetViewCell()->GetPvs().EvalPvsCost() / (float)maxPvs; 
    250250 
    251251                                mForcedMaterial.mDiffuseColor.r = importance; 
Note: See TracChangeset for help on using the changeset viewer.