Changeset 1923


Ignore:
Timestamp:
12/28/06 20:02:12 (17 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/scripts/default.env

    r736 r1923  
    262262} 
    263263 
    264  
    265264Simulation { 
    266265        objRenderCost 1.0 
     
    270269} 
    271270 
    272  
    273 VspKdTree { 
    274         epsilon         1e-6 
    275  
    276         Construction { 
    277                 samples 500000 
    278         } 
    279          
    280         Termination { 
    281                 maxDepth                40 
    282                 minPvs                  0 
    283                 minRays                 1 
    284                 minSize                 0.001 
    285                 maxCostRatio            5.9 
    286                 maxViewCells            169 
    287                 missTolerance           4 
    288                 maxRayContribution      2.5 
    289         } 
    290          
    291         maxTotalMemory  100 
    292         maxStaticMemory 40 
    293  
    294         splitType       regular 
    295         #splitType      heuristics 
    296         splitUseOnlyDrivingAxis true 
    297         ct_div_ci       0.0 
    298          
    299         # maximal cost for merging a view cell 
    300         PostProcess { 
    301                 maxCostRatio 0.005 
    302                 minViewCells 10000 
    303                 maxPvsSize   5000 
    304         } 
    305          
    306          
    307         Visualization { 
    308         } 
    309 } 
    310271 
    311272VspBspTree { 
  • GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp

    r1922 r1923  
    20862086{ 
    20872087        ObjectContainer::const_iterator oit, oit_end = leaf->mObjects.end(); 
     2088 
    20882089        for (oit = leaf->mObjects.begin(); oit != oit_end; ++ oit) 
    20892090        { 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp

    r1919 r1923  
    17441744        RegisterOption("Preprocessor.evaluateFilter", 
    17451745                                   optBool, 
    1746                                    "preprocessor_evaluate_filter", 
     1746                                   "preprocessor_evaluate_filter=", 
    17471747                                   "false"); 
    17481748 
     
    17591759        RegisterOption("Preprocessor.useGlRenderer", 
    17601760                                        optBool, 
    1761                                         "preprocessor_use_gl_renderer", 
     1761                                        "preprocessor_use_gl_renderer=", 
    17621762                                        "false"); 
    17631763 
    17641764        RegisterOption("Preprocessor.useGlDebugger", 
    17651765                                        optBool, 
    1766                                         "preprocessor_use_gl_debugger", 
     1766                                        "preprocessor_use_gl_debugger=", 
    17671767                                        "false"); 
    17681768 
     
    17741774        RegisterOption("Preprocessor.quitOnFinish", 
    17751775                                   optBool, 
    1776                                    "preprocessor_quit_on_finish", 
     1776                                   "preprocessor_quit_on_finish=", 
    17771777                                   "true"); 
    17781778 
     
    18481848 
    18491849   RegisterOption("Preprocessor.useViewSpaceBox", 
    1850           optBool, 
    1851           "preprocessor_use_viewspace_box=", 
    1852           "false");    
     1850                                        optBool, 
     1851                                        "preprocessor_use_viewspace_box=", 
     1852                                        "false");    
    18531853 
    18541854   RegisterOption("Preprocessor.Export.rays", optBool, "export_rays=", "false"); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp

    r1917 r1923  
    189189        cout << "Deleting bsp tree ... \n"; 
    190190        DEL_PTR(mBspTree); 
    191         cout << "done.\n"; 
    192  
    193         cout << "Deleting kd tree...\n"; 
     191        cout << "done.\n"; fflush(stdout); 
     192 
     193        cout << "Deleting kd tree ...\n";fflush(stdout); 
    194194        DEL_PTR(mKdTree); 
    195195        cout << "done.\n"; 
    196196 
    197         cout << "Deleting vspbsp tree...\n"; 
     197        cout << "Deleting vspbsp tree ... \n"; 
    198198        DEL_PTR(mVspBspTree); 
    199199        cout << "done.\n"; 
    200200 
    201         cout << "Deleting scene graph...\n"; 
     201        cout << "Deleting scene graph ... \n"; 
    202202        DEL_PTR(mSceneGraph); 
    203203        cout << "done.\n"; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor.vcproj

    r1920 r1923  
    206206                                Name="VCLinkerTool" 
    207207                                AdditionalDependencies="xerces-c_2.lib glew32.lib zdll.lib zziplib.lib devil.lib glut32.lib OpenGL32.Lib glu32.lib Preprocessor.lib RTScene.lib RTWorld.lib QtCore4.lib qtmain.lib QtOpenGL4.lib Qt3Support4.lib QtTest4.lib QtGui4.lib QtGlRenderer.lib" 
    208                                 OutputFile="../bin/release/Preprocessor2.exe" 
     208                                OutputFile="../bin/release/Preprocessor.exe" 
    209209                                LinkIncremental="1" 
    210210                                AdditionalLibraryDirectories="..\src\GL;..\lib\release;..\..\Preprocessing\lib\release;..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Xerces\xercesc\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib;..\MultiLevelRayTracing\RTScene\Release;..\MultiLevelRayTracing\RTWorld\Release;&quot;$(QTDIR)\lib&quot;;.\QtGlRenderer\Release" 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp

    r1828 r1923  
    102102mPlane(plane), mFront(NULL), mBack(NULL) 
    103103{} 
     104 
    104105 
    105106BspInterior::~BspInterior()  
     
    437438        DEL_PTR(mRoot); 
    438439         
    439         if (mOutOfBoundsCellPartOfTree) 
     440        if (!mOutOfBoundsCellPartOfTree) 
    440441        { 
    441442                // out of bounds cell not part of tree => 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.h

    r1563 r1923  
    10871087 
    10881088        ViewCellsTree *mViewCellsTree; 
    1089  
     1089        /// if out of bounds cell is part of the bsp tree 
    10901090        bool mOutOfBoundsCellPartOfTree; 
    10911091 
Note: See TracChangeset for help on using the changeset viewer.