Changeset 402 for trunk/VUT/GtpVisibilityPreprocessor
- Timestamp:
- 11/10/05 09:56:23 (19 years ago)
- Location:
- trunk/VUT/GtpVisibilityPreprocessor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/scripts/default.env
r400 r402 129 129 130 130 maxPolyCandidates 50 131 maxRayCandidates 0131 maxRayCandidates 50 132 132 133 133 Termination { -
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.