Changeset 1923
- Timestamp:
- 12/28/06 20:02:12 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/scripts/default.env
r736 r1923 262 262 } 263 263 264 265 264 Simulation { 266 265 objRenderCost 1.0 … … 270 269 } 271 270 272 273 VspKdTree {274 epsilon 1e-6275 276 Construction {277 samples 500000278 }279 280 Termination {281 maxDepth 40282 minPvs 0283 minRays 1284 minSize 0.001285 maxCostRatio 5.9286 maxViewCells 169287 missTolerance 4288 maxRayContribution 2.5289 }290 291 maxTotalMemory 100292 maxStaticMemory 40293 294 splitType regular295 #splitType heuristics296 splitUseOnlyDrivingAxis true297 ct_div_ci 0.0298 299 # maximal cost for merging a view cell300 PostProcess {301 maxCostRatio 0.005302 minViewCells 10000303 maxPvsSize 5000304 }305 306 307 Visualization {308 }309 }310 271 311 272 VspBspTree { -
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
r1922 r1923 2086 2086 { 2087 2087 ObjectContainer::const_iterator oit, oit_end = leaf->mObjects.end(); 2088 2088 2089 for (oit = leaf->mObjects.begin(); oit != oit_end; ++ oit) 2089 2090 { -
GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp
r1919 r1923 1744 1744 RegisterOption("Preprocessor.evaluateFilter", 1745 1745 optBool, 1746 "preprocessor_evaluate_filter ",1746 "preprocessor_evaluate_filter=", 1747 1747 "false"); 1748 1748 … … 1759 1759 RegisterOption("Preprocessor.useGlRenderer", 1760 1760 optBool, 1761 "preprocessor_use_gl_renderer ",1761 "preprocessor_use_gl_renderer=", 1762 1762 "false"); 1763 1763 1764 1764 RegisterOption("Preprocessor.useGlDebugger", 1765 1765 optBool, 1766 "preprocessor_use_gl_debugger ",1766 "preprocessor_use_gl_debugger=", 1767 1767 "false"); 1768 1768 … … 1774 1774 RegisterOption("Preprocessor.quitOnFinish", 1775 1775 optBool, 1776 "preprocessor_quit_on_finish ",1776 "preprocessor_quit_on_finish=", 1777 1777 "true"); 1778 1778 … … 1848 1848 1849 1849 RegisterOption("Preprocessor.useViewSpaceBox", 1850 1851 1852 1850 optBool, 1851 "preprocessor_use_viewspace_box=", 1852 "false"); 1853 1853 1854 1854 RegisterOption("Preprocessor.Export.rays", optBool, "export_rays=", "false"); -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r1917 r1923 189 189 cout << "Deleting bsp tree ... \n"; 190 190 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); 194 194 DEL_PTR(mKdTree); 195 195 cout << "done.\n"; 196 196 197 cout << "Deleting vspbsp tree ...\n";197 cout << "Deleting vspbsp tree ... \n"; 198 198 DEL_PTR(mVspBspTree); 199 199 cout << "done.\n"; 200 200 201 cout << "Deleting scene graph ...\n";201 cout << "Deleting scene graph ... \n"; 202 202 DEL_PTR(mSceneGraph); 203 203 cout << "done.\n"; -
GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor.vcproj
r1920 r1923 206 206 Name="VCLinkerTool" 207 207 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/Preprocessor 2.exe"208 OutputFile="../bin/release/Preprocessor.exe" 209 209 LinkIncremental="1" 210 210 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;"$(QTDIR)\lib";.\QtGlRenderer\Release" -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp
r1828 r1923 102 102 mPlane(plane), mFront(NULL), mBack(NULL) 103 103 {} 104 104 105 105 106 BspInterior::~BspInterior() … … 437 438 DEL_PTR(mRoot); 438 439 439 if ( mOutOfBoundsCellPartOfTree)440 if (!mOutOfBoundsCellPartOfTree) 440 441 { 441 442 // out of bounds cell not part of tree => -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.h
r1563 r1923 1087 1087 1088 1088 ViewCellsTree *mViewCellsTree; 1089 1089 /// if out of bounds cell is part of the bsp tree 1090 1090 bool mOutOfBoundsCellPartOfTree; 1091 1091
Note: See TracChangeset
for help on using the changeset viewer.