Changeset 402 for trunk/VUT/GtpVisibilityPreprocessor/src
- Timestamp:
- 11/10/05 09:56:23 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp
r400 r402 1426 1426 1427 1427 if ((sSplitPlaneStrategy & PVS) && area && pvs) 1428 { 1428 1429 val += sPvsFactor * (frontPvs * pFront + (backPvs * pBack)) / 1429 1430 (pOverall * (float)pvs * 2); 1430 1431 1432 // give penalty for unbalanced cell 1433 if (((pFront * 0.2) > pBack) || (pFront < (pBack * 0.2))) 1434 val += 0.5; 1435 } 1431 1436 /* Debug << "totalpvs: " << pvs << " ptotal: " << pOverall 1432 1437 << " frontpvs: " << frontPvs << " pFront: " << pFront
Note: See TracChangeset
for help on using the changeset viewer.