Changeset 1707 for GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp
- Timestamp:
- 11/01/06 23:20:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp
r1571 r1707 222 222 223 223 mForcedMaterial.mDiffuseColor.b = 1.0f; 224 const float importance = (float)leaf->GetViewCell()->GetPvs(). CountObjectsInPvs() / (float)maxPvs;224 const float importance = (float)leaf->GetViewCell()->GetPvs().EvalPvsCost() / (float)maxPvs; 225 225 226 226 mForcedMaterial.mDiffuseColor.r = importance;
Note: See TracChangeset
for help on using the changeset viewer.