- Timestamp:
- 01/14/06 01:41:57 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.cpp
r536 r538 366 366 367 367 exporter->SetWireframe(); 368 exporter->ExportGeometry(objects);368 //exporter->ExportGeometry(objects); 369 369 exporter->SetFilled(); 370 370 //Randomize(); … … 389 389 Intersectable *sourceObj = mObjects[5]; 390 390 BeamSampleStatistics stats; 391 391 392 renderer->SampleBeamContributions(sourceObj, 392 393 beam, … … 403 404 exporter->ExportBeam(beam, vbox); 404 405 405 bool exportViewCells = false;406 bool exportViewCells = true; 406 407 407 408 if (exportViewCells) 408 409 { 409 exporter->SetWireframe();410 411 410 ViewCellContainer::const_iterator it, it_end = beam.mViewCells.end(); 412 411 … … 416 415 AxisAlignedBox3 vbox; 417 416 vbox.Initialize(); 418 Mesh *mesh = (*it)->GetMesh(); 419 417 vbox.Include((*it)->GetMesh()); 418 419 exporter->SetWireframe(); 420 420 exporter->ExportBox(vbox); 421 //exporter->ExportViewCell(*it); 421 exporter->SetFilled(); 422 exporter->ExportViewCell(*it); 422 423 } 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 }*/ 423 431 } 424 432 }
Note: See TracChangeset
for help on using the changeset viewer.