Changeset 344


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

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/scripts/default.env

    r335 r344  
    88#       filename glasgow1.x3d 
    99#       filename vienna.x3d 
    10 #       filename ../data/vienna/vienna-simple.x3d 
    11         filename ../data/vienna/vienna-buildings.x3d 
     10        filename ../data/vienna/vienna-simple.x3d 
     11#       filename ../data/vienna/vienna-buildings.x3d 
    1212#       filename ../data/vienna/viewcells-25-sel.x3d 
    1313#       filename ../data/atlanta/atlanta2.x3d 
     
    5656 
    5757Sampling { 
    58         totalSamples    1000000 
     58        totalSamples    100 
    5959        samplesPerPass  20 
    6060} 
     
    6969         
    7070#       filename ../data/atlanta/atlanta_viewcells_large.x3d 
    71         filename ../data/vienna/viewcells-25-sel.x3d 
    72 #       filename ../data/vienna/viewcells-25.x3d 
     71#       filename ../data/vienna/viewcells-25-sel.x3d 
     72        filename ../data/vienna/viewcells-25.x3d 
    7373#       filename ../data/vienna/viewcells-large-sel.x3d 
    7474} 
     
    7676BspTree { 
    7777        Construction { 
    78                 input fromRays 
    79         #       input fromViewCells 
     78        #       input fromRays 
     79                input fromViewCells 
    8080        #       input fromSceneGeometry 
    8181                samples 200000 
    82                 sideTolerance 0.002 
     82                sideTolerance 0.005 
    8383        } 
    8484 
     
    113113        #splitPlaneStrategy 130 
    114114         
    115         splitPlaneStrategy 130 
     115        splitPlaneStrategy 66 
    116116         
    117117        maxCandidates 50 
     
    120120                # autopartition 
    121121                maxRays -1 
    122                 maxPolygons 20 
     122                maxPolygons 0 
    123123                maxDepth 100 
    124124                 
    125125                #axis aligned split 
    126                 maxPolysForAxisAligned 200 
     126                maxPolysForAxisAligned 100 
    127127                maxCostRatio 0.9 
    128128                ct_div_ci 0.5 
  • 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.