Ignore:
Timestamp:
12/14/05 19:17:40 (19 years ago)
Author:
mattausch
Message:

worked on vspkd leaves merge, implemented post merge collapse

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.cpp

    r462 r465  
    462462  cout<<"VssTree root PVS size = "<<vssTree->GetRootPvsSize()<<endl; 
    463463   
    464   ExportVssTree("vss-tree-100.x3d", vssTree, Vector3(1,0,0)); 
    465   ExportVssTree("vss-tree-001.x3d", vssTree, Vector3(0,0,1)); 
    466   ExportVssTree("vss-tree-101.x3d", vssTree, Vector3(1,0,1)); 
    467   ExportVssTree("vss-tree-101m.x3d", vssTree, Vector3(-1,0,-1)); 
    468  
    469   ExportVssTreeLeaves(vssTree, 10); 
     464  if (0) 
     465  { 
     466          ExportVssTree("vss-tree-100.x3d", vssTree, Vector3(1,0,0)); 
     467          ExportVssTree("vss-tree-001.x3d", vssTree, Vector3(0,0,1)); 
     468          ExportVssTree("vss-tree-101.x3d", vssTree, Vector3(1,0,1)); 
     469          ExportVssTree("vss-tree-101m.x3d", vssTree, Vector3(-1,0,-1)); 
     470          ExportVssTreeLeaves(vssTree, 10); 
     471  } 
    470472 
    471473  // viewcells->UpdatePVS(newVssRays); 
     
    543545 
    544546        /// compute view cell contribution of rays 
    545         mViewCellsManager->ComputeSampleContributions(passRays, 
     547/*      mViewCellsManager->ComputeSampleContributions(passRays, 
    546548                                                                                                  sampleContributions,  
    547549                                                                                                  contributingSamples); 
     
    560562                CLEAR_CONTAINER(passRays); 
    561563        } 
    562  
     564*/ 
    563565        samples+=num; 
    564566        float pvs = vssTree->GetAvgPvsSize(); 
     
    574576  } 
    575577 
     578  cout << "here" << endl; 
    576579  //-- post process view cells 
    577580  mViewCellsManager->PostProcess(objects, storedRays); 
Note: See TracChangeset for help on using the changeset viewer.