Changeset 1141 for GTP/trunk/Lib/Vis/Preprocessing/src/X3dExporter.cpp
- Timestamp:
- 07/18/06 19:03:14 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/X3dExporter.cpp
r1121 r1141 297 297 298 298 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; 300 301 301 302 mForcedMaterial.mDiffuseColor.r = importance;
Note: See TracChangeset
for help on using the changeset viewer.