Changeset 547 for trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp
- Timestamp:
- 01/17/06 23:28:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp
r545 r547 212 212 BspTree::BspTree(): 213 213 mRoot(NULL), 214 m PvsUseArea(true),214 mUseAreaForPvs(true), 215 215 mGenerateViewCells(true) 216 216 { … … 410 410 << maxCostNodes * 100 / (double)Leaves() << endl; 411 411 412 app << "#N_PMINAREALEAVES ( Percentage of leaves with mininum area)\n"413 << min AreaNodes * 100 / (double)Leaves() << endl;412 app << "#N_PMINAREALEAVES ( Percentage of leaves with mininum probability )\n" 413 << minProbabilityNodes * 100 / (double)Leaves() << endl; 414 414 415 415 app << "#N_PMAXRAYCONTRIBLEAVES ( Percentage of leaves with maximal ray contribution )\n" … … 1535 1535 GenerateUniqueIdsForPvs(); 1536 1536 1537 if (m PvsUseArea) // use front and back cell areas to approximate volume1537 if (mUseAreaForPvs) // use front and back cell areas to approximate volume 1538 1538 { 1539 1539 // construct child geometry with regard to the candidate split plane … … 1607 1607 AddObjToPvs(ray->sourceObject.mObject, cf, frontPvs, backPvs); 1608 1608 1609 if (m PvsUseArea)1609 if (mUseAreaForPvs) 1610 1610 { 1611 1611 float len = 1; … … 1830 1830 1831 1831 if (data.mGeometry->GetArea() <= mTermMinArea) 1832 ++ mStat.min AreaNodes;1832 ++ mStat.minProbabilityNodes; 1833 1833 1834 1834 #ifdef _DEBUG
Note: See TracChangeset
for help on using the changeset viewer.