Changeset 1811 for GTP/trunk/Lib
- Timestamp:
- 11/27/06 18:33:08 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
r1790 r1811 1556 1556 if (0 && 1557 1557 (tData.mNode->GetBoundingBox().Size(axis) < Limits::Small)) 1558 nCostRatio[axis] += 9999; 1558 { 1559 nCostRatio[axis] += 9999; 1560 } 1559 1561 1560 1562 if ((bestAxis == -1) || (nCostRatio[axis] < nCostRatio[bestAxis])) -
GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor.vcproj
r1772 r1811 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/ViewCellsManager.cpp
r1790 r1811 6182 6182 cout << "Evaluating view cell partition ... " << endl; 6183 6183 6184 vector<int> evalStrats; 6185 6186 // mix of sampling strategies 6187 if (0) 6188 { 6189 evalStrats.push_back(SamplingStrategy::OBJECT_BASED_DISTRIBUTION); 6190 evalStrats.push_back(SamplingStrategy::SPATIAL_BOX_BASED_DISTRIBUTION); 6191 evalStrats.push_back(SamplingStrategy::REVERSE_OBJECT_BASED_DISTRIBUTION); 6192 6193 Debug << "casting volume strategies" << endl; 6194 cout << "casting volume strategies" << endl; 6195 } 6196 else 6197 { 6198 //evalStrats.push_back(SamplingStrategy::VIEWSPACE_BORDER_BASED_DISTRIBUTION); 6199 evalStrats.push_back(SamplingStrategy::OBJECT_BASED_DISTRIBUTION); 6200 6201 // ratio 3:1 6202 evalStrats.push_back(SamplingStrategy::REVERSE_VIEWSPACE_BORDER_BASED_DISTRIBUTION); 6203 //evalStrats.push_back(SamplingStrategy::REVERSE_VIEWSPACE_BORDER_BASED_DISTRIBUTION); 6204 //evalStrats.push_back(SamplingStrategy::REVERSE_VIEWSPACE_BORDER_BASED_DISTRIBUTION); 6205 6206 Debug << "casting surface strategies" << endl; 6207 cout << "casting surface strategies" << endl; 6208 } 6209 6184 6210 while (castSamples < numSamples) 6185 6211 { … … 6194 6220 cout << "casting " << samplesPerPass << " samples ... "; 6195 6221 Debug << "casting " << samplesPerPass << " samples ... "; 6196 6197 vector<int>dummyStrat; 6198 6199 dummyStrat.push_back(SamplingStrategy::OBJECT_BASED_DISTRIBUTION); 6200 dummyStrat.push_back(SamplingStrategy::SPATIAL_BOX_BASED_DISTRIBUTION); 6201 dummyStrat.push_back(SamplingStrategy::REVERSE_OBJECT_BASED_DISTRIBUTION); 6202 //dummyStrat.push_back(SamplingStrategy::REVERSE_VIEWSPACE_BORDER_BASED_DISTRIBUTION); 6203 6204 CastPassSamples(samplesPerPass, dummyStrat, evaluationSamples); 6222 6223 CastPassSamples(samplesPerPass, evalStrats, evaluationSamples); 6205 6224 //CastPassSamples(samplesPerPass, mStrategies, evaluationSamples); 6206 6225
Note: See TracChangeset
for help on using the changeset viewer.