Changeset 344 for trunk/VUT/GtpVisibilityPreprocessor/src
- Timestamp:
- 10/21/05 04:01:49 (19 years ago)
- Location:
- trunk/VUT/GtpVisibilityPreprocessor/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
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.