Ignore:
Timestamp:
10/21/05 04:01:49 (19 years ago)
Author:
mattausch
Message:
 
Location:
trunk/VUT/GtpVisibilityPreprocessor/src
Files:
4 edited

Legend:

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

    r329 r344  
    169169                // 3 vertices enough to decide coincident 
    170170                else if (((++ count) >= 3) && !onFrontSide && !onBackSide) 
    171                 {    
     171                {   //if (DotProd(plane.mNormal, GetNormal()) > 0) 
    172172                        return Plane3::COINCIDENT;  
    173173                } 
     
    182182                return Plane3::FRONT_SIDE; 
    183183        } 
    184  
     184        //if (DotProd(plane.mNormal, GetNormal()) < 0) return Plane3::FRONT_SIDE; 
    185185        return Plane3::COINCIDENT; // plane and polygon are coincident 
    186186} 
  • trunk/VUT/GtpVisibilityPreprocessor/src/SamplingPreprocessor.cpp

    r341 r344  
    579579    delete exporter; 
    580580  } 
    581    
     581  //-- several visualizations and statistics 
    582582  if (1) { 
    583583  if (mViewCellsType == BSP_VIEW_CELLS) 
     
    606606                          exporter->ResetForcedMaterial(); 
    607607 
    608                           if (1) 
     608                          // export scene geometry 
     609                          if (0) 
    609610                          { 
    610611                                  Material m;//= RandomMaterial(); 
     
    654655                  exporter->SetForcedMaterial(m); 
    655656 
    656                   // output pvs of view cell 
     657                  // output PVS of view cell 
    657658                  for (; it != vc->GetPvs().mEntries.end(); ++ it)  
    658659                  { 
     
    665666                  } 
    666667                 
    667                   // output rest of the objects 
    668                   if (1) 
     668                  // output rest of the sobjects 
     669                  if (0) 
    669670                  { 
    670671                          Material m;//= RandomMaterial(); 
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h

    r342 r344  
    598598        /// view cell corresponding to unbounded space 
    599599        ViewCell *mRootCell; 
    600  
     600        /// should view cells be stored or generated in the leaves? 
    601601        bool mGenerateViewCells; 
    602602 
  • trunk/VUT/GtpVisibilityPreprocessor/src/main.cpp

    r335 r344  
    101101  } 
    102102 
    103   if (1) { 
     103  if (0) { 
    104104    Camera camera; 
    105105    //camera.LookAtBox(p->mKdTree->GetBox()); 
Note: See TracChangeset for help on using the changeset viewer.