- Timestamp:
- 10/21/05 04:01:49 (19 years ago)
- Location:
- trunk/VUT
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/scripts/default.env
r335 r344 8 8 # filename glasgow1.x3d 9 9 # filename vienna.x3d 10 #filename ../data/vienna/vienna-simple.x3d11 filename ../data/vienna/vienna-buildings.x3d10 filename ../data/vienna/vienna-simple.x3d 11 # filename ../data/vienna/vienna-buildings.x3d 12 12 # filename ../data/vienna/viewcells-25-sel.x3d 13 13 # filename ../data/atlanta/atlanta2.x3d … … 56 56 57 57 Sampling { 58 totalSamples 100 000058 totalSamples 100 59 59 samplesPerPass 20 60 60 } … … 69 69 70 70 # filename ../data/atlanta/atlanta_viewcells_large.x3d 71 filename ../data/vienna/viewcells-25-sel.x3d72 #filename ../data/vienna/viewcells-25.x3d71 # filename ../data/vienna/viewcells-25-sel.x3d 72 filename ../data/vienna/viewcells-25.x3d 73 73 # filename ../data/vienna/viewcells-large-sel.x3d 74 74 } … … 76 76 BspTree { 77 77 Construction { 78 input fromRays79 #input fromViewCells78 # input fromRays 79 input fromViewCells 80 80 # input fromSceneGeometry 81 81 samples 200000 82 sideTolerance 0.00 282 sideTolerance 0.005 83 83 } 84 84 … … 113 113 #splitPlaneStrategy 130 114 114 115 splitPlaneStrategy 130115 splitPlaneStrategy 66 116 116 117 117 maxCandidates 50 … … 120 120 # autopartition 121 121 maxRays -1 122 maxPolygons 20122 maxPolygons 0 123 123 maxDepth 100 124 124 125 125 #axis aligned split 126 maxPolysForAxisAligned 200126 maxPolysForAxisAligned 100 127 127 maxCostRatio 0.9 128 128 ct_div_ci 0.5 -
trunk/VUT/GtpVisibilityPreprocessor/src/Polygon3.cpp
r329 r344 169 169 // 3 vertices enough to decide coincident 170 170 else if (((++ count) >= 3) && !onFrontSide && !onBackSide) 171 { 171 { //if (DotProd(plane.mNormal, GetNormal()) > 0) 172 172 return Plane3::COINCIDENT; 173 173 } … … 182 182 return Plane3::FRONT_SIDE; 183 183 } 184 184 //if (DotProd(plane.mNormal, GetNormal()) < 0) return Plane3::FRONT_SIDE; 185 185 return Plane3::COINCIDENT; // plane and polygon are coincident 186 186 } -
trunk/VUT/GtpVisibilityPreprocessor/src/SamplingPreprocessor.cpp
r341 r344 579 579 delete exporter; 580 580 } 581 581 //-- several visualizations and statistics 582 582 if (1) { 583 583 if (mViewCellsType == BSP_VIEW_CELLS) … … 606 606 exporter->ResetForcedMaterial(); 607 607 608 if (1) 608 // export scene geometry 609 if (0) 609 610 { 610 611 Material m;//= RandomMaterial(); … … 654 655 exporter->SetForcedMaterial(m); 655 656 656 // output pvsof view cell657 // output PVS of view cell 657 658 for (; it != vc->GetPvs().mEntries.end(); ++ it) 658 659 { … … 665 666 } 666 667 667 // output rest of the objects668 if ( 1)668 // output rest of the sobjects 669 if (0) 669 670 { 670 671 Material m;//= RandomMaterial(); -
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h
r342 r344 598 598 /// view cell corresponding to unbounded space 599 599 ViewCell *mRootCell; 600 600 /// should view cells be stored or generated in the leaves? 601 601 bool mGenerateViewCells; 602 602 -
trunk/VUT/GtpVisibilityPreprocessor/src/main.cpp
r335 r344 101 101 } 102 102 103 if ( 1) {103 if (0) { 104 104 Camera camera; 105 105 //camera.LookAtBox(p->mKdTree->GetBox());
Note: See TracChangeset
for help on using the changeset viewer.