Changeset 1811


Ignore:
Timestamp:
11/27/06 18:33:08 (17 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp

    r1790 r1811  
    15561556                        if (0 && 
    15571557                                (tData.mNode->GetBoundingBox().Size(axis) < Limits::Small)) 
    1558                                         nCostRatio[axis] += 9999; 
     1558                        { 
     1559                                nCostRatio[axis] += 9999; 
     1560                        } 
    15591561 
    15601562                        if ((bestAxis == -1) || (nCostRatio[axis] < nCostRatio[bestAxis])) 
  • GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor.vcproj

    r1772 r1811  
    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/ViewCellsManager.cpp

    r1790 r1811  
    61826182    cout << "Evaluating view cell partition ... " << endl; 
    61836183 
     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 
    61846210        while (castSamples < numSamples) 
    61856211        {                
     
    61946220                cout << "casting " << samplesPerPass << " samples ... "; 
    61956221                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); 
    62056224                //CastPassSamples(samplesPerPass, mStrategies, evaluationSamples); 
    62066225                 
Note: See TracChangeset for help on using the changeset viewer.