Ignore:
Timestamp:
01/14/06 01:41:57 (19 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r536 r538  
    366366 
    367367        exporter->SetWireframe(); 
    368         exporter->ExportGeometry(objects); 
     368        //exporter->ExportGeometry(objects); 
    369369        exporter->SetFilled(); 
    370370        //Randomize(); 
     
    389389                Intersectable *sourceObj = mObjects[5]; 
    390390                BeamSampleStatistics stats; 
     391 
    391392                renderer->SampleBeamContributions(sourceObj, 
    392393                                                                                  beam, 
     
    403404                exporter->ExportBeam(beam, vbox); 
    404405 
    405                 bool exportViewCells = false; 
     406                bool exportViewCells = true; 
    406407                 
    407408                if (exportViewCells) 
    408409                { 
    409                         exporter->SetWireframe(); 
    410                          
    411410                        ViewCellContainer::const_iterator it, it_end = beam.mViewCells.end(); 
    412411                         
     
    416415                                AxisAlignedBox3 vbox; 
    417416                                vbox.Initialize(); 
    418                                 Mesh *mesh = (*it)->GetMesh(); 
    419  
     417                                vbox.Include((*it)->GetMesh()); 
     418                         
     419                                exporter->SetWireframe(); 
    420420                                exporter->ExportBox(vbox); 
    421                                 //exporter->ExportViewCell(*it); 
     421                                exporter->SetFilled(); 
     422                                exporter->ExportViewCell(*it); 
    422423                        } 
     424 
     425                        /*vector<KdNode *>::const_iterator it, it_end = beam.mKdNodes.end(); 
     426                         
     427                        for (it = beam.mKdNodes.begin(); it != beam.mKdNodes.end(); ++ it) 
     428                        { 
     429                                exporter->ExportBox(mKdTree->GetBox((*it))); 
     430                        }*/ 
    423431                } 
    424432        } 
Note: See TracChangeset for help on using the changeset viewer.