- Timestamp:
- 08/25/06 00:05:43 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h
r1279 r1283 153 153 154 154 void ExportObjectSpaceHierarchyForViz(const ObjectContainer &objects) const; 155 ~HierarchyManager(); 155 156 156 157 protected: -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r1281 r1283 1015 1015 int 1016 1016 Preprocessor::ProcessRay( 1017 Vector3 &viewPoint,1018 Vector3 &direction,1017 const Vector3 &viewPoint, 1018 const Vector3 &direction, 1019 1019 Intersectable *objectA, 1020 1020 Vector3 &pointA, 1021 Vector3 &normalA,1021 const Vector3 &normalA, 1022 1022 Intersectable *objectB, 1023 1023 Vector3 &pointB, 1024 Vector3 &normalB,1024 const Vector3 &normalB, 1025 1025 const float probability, 1026 1026 VssRayContainer &vssRays, … … 1036 1036 sbox.Enlarge(Vector3(-Limits::Small)); 1037 1037 1038 1039 1038 if (!sbox.IsInside(viewPoint)) 1040 1039 return 0; -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.h
r1281 r1283 223 223 int 224 224 ProcessRay( 225 Vector3 &viewPoint,226 Vector3 &direction,225 const Vector3 &viewPoint, 226 const Vector3 &direction, 227 227 Intersectable *objectA, 228 228 Vector3 &pointA, 229 Vector3 &normalA,229 const Vector3 &normalA, 230 230 Intersectable *objectB, 231 231 Vector3 &pointB, 232 Vector3 &normalB,232 const Vector3 &normalB, 233 233 const float probability, 234 234 VssRayContainer &vssRays, -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.icproj
r1281 r1283 116 116 Name="CppCmplrTool" 117 117 Optimization="1000" 118 GlobalOptimizations=" 0"118 GlobalOptimizations="1" 119 119 InlineFunctionExpansion="0" 120 EnableIntrinsicFunctions=" 0"120 EnableIntrinsicFunctions="1" 121 121 FavorSizeOrSpeed="1" 122 122 OmitFramePointers="1" … … 136 136 Detect64BitPortabilityProblems="1" 137 137 DebugInformationFormat="3" 138 UseProcExt=" 0"139 Parallelization=" 0"/>138 UseProcExt="4" 139 Parallelization="1"/> 140 140 <Tool 141 141 Name="LinkerTool" -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.vcproj
r1281 r1283 108 108 Name="VCCLCompilerTool" 109 109 Optimization="2" 110 GlobalOptimizations=" FALSE"110 GlobalOptimizations="TRUE" 111 111 InlineFunctionExpansion="0" 112 EnableIntrinsicFunctions=" FALSE"112 EnableIntrinsicFunctions="TRUE" 113 113 FavorSizeOrSpeed="1" 114 114 OmitFramePointers="TRUE" -
GTP/trunk/Lib/Vis/Preprocessing/src/RssPreprocessor.cpp
r1281 r1283 664 664 665 665 while (1) { 666 SimpleRayContainer rays; 667 VssRayContainer vssRays; 666 static SimpleRayContainer rays; 667 static VssRayContainer vssRays; 668 static VssRayContainer tmpVssRays; 669 rays.clear(); 670 vssRays.clear(); 671 tmpVssRays.clear(); 668 672 int castRays = 0; 669 673 if (mUseImportanceSampling) { 670 VssRayContainer tmpVssRays;671 674 672 675 static float ratios[] = {0.9f,0.05f,0.05f}; -
GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor.icproj
r1281 r1283 132 132 AdditionalIncludeDirectories="..\include;..\..\..\..\..\..\NonGTP\Boost;"$(QTDIR)\include\QtOpenGl";..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\MultiLevelRayTracing" 133 133 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;GTP_INTERNAL" 134 MinimalRebuild="1" 134 135 RuntimeLibrary="2" 135 136 RuntimeTypeInfo="1" -
GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor.vcproj
r1281 r1283 128 128 AdditionalIncludeDirectories="..\include;..\..\..\..\..\..\NonGTP\Boost;"$(QTDIR)\include\QtOpenGl";..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\MultiLevelRayTracing" 129 129 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;GTP_INTERNAL" 130 MinimalRebuild="TRUE" 130 131 RuntimeLibrary="2" 131 132 RuntimeTypeInfo="TRUE" -
GTP/trunk/Lib/Vis/Preprocessing/src/default.env
r1272 r1283 6 6 Scene { 7 7 8 filename ../data/CityModel/CityModel.obj 8 filename ../data/City4M/City4M.obj 9 #filename ../data/CityModel/CityModel.obj 9 10 # filename ../data/GrandCanyon/grandcanyon1_RotXmin90.obj 10 11 # filename ../data/glasgow/glasgow1.x3d … … 221 222 #number of active view cells 222 223 active 5000 223 maxStaticMemory 40224 maxStaticMemory 200 224 225 225 226 exportToFile true … … 297 298 # filename ../data/soda/soda5-viewcell-single.xm 298 299 # filename ../data/soda/vienna-viewcell-single.xml 299 filename ../data/CityModel/CityModel-viewcells-5000.xml 300 # filename ../data/CityModel/CityModel-viewcells-5000.xml 301 filename ../data/City4M/City4M-viewcells-5000.xml 300 302 301 303
Note: See TracChangeset
for help on using the changeset viewer.