- Timestamp:
- 01/12/06 02:44:17 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellsManager.cpp
r519 r520 100 100 void ViewCellsManager::ComputeSampleContributions(const VssRayContainer &rays) 101 101 { 102 Debug << "here2" << endl;103 102 // view cells not yet constructed 104 103 if (!ViewCellsConstructed()) 105 104 return; 106 Debug << "here " << rays.size() << endl;107 105 108 106 VssRayContainer::const_iterator it, it_end = rays.end(); … … 335 333 mViewCellsStats.Reset(); 336 334 EvaluateViewCellsStats(); 337 335 // has to be recomputed 338 336 mTotalAreaValid = false; 339 337 } … … 361 359 termination, 362 360 viewcells); 363 Debug << "constribution: " << (int)viewcells.size() << endl;361 //Debug << "constribution: " << (int)viewcells.size() << endl; 364 362 // copy viewcells memory efficiently 365 363 const bool storeViewcells = false; … … 1965 1963 return 0; 1966 1964 } 1967 // view cells already finished 1968 else if (mViewCellsFinished) 1965 1966 EvaluateViewCellsStats(); 1967 1968 // view cells already finished post processing step 1969 if (mViewCellsFinished) 1969 1970 return 0; 1970 1971 … … 1973 1974 1974 1975 Debug << "post processing using " << (int)postProcessRays.size() << " samples" << endl; 1975 EvaluateViewCellsStats();1976 1976 1977 Debug << "\nview cell partition after sampling:\n" << mViewCellsStats << endl << endl; 1977 1978 … … 1983 1984 // collapse sibling leaves that share the same view cell 1984 1985 mVspBspTree->CollapseTree(); 1986 1987 ResetViewCells(); 1985 1988 1986 1989 // real meshes are only contructed only at this stage … … 2372 2375 2373 2376 bool success = parser.ParseFile(filename, mVspBspTree, this, objects); 2377 mVspBspTree->RepairViewCellsLeafLists(); 2378 mVspBspTree->mBox = GetViewSpaceBox(); 2374 2379 ResetViewCells(); 2375 2380 CreateViewCellMeshes();
Note: See TracChangeset
for help on using the changeset viewer.