Changeset 2199


Ignore:
Timestamp:
03/07/07 16:26:58 (17 years ago)
Author:
mattausch
Message:

using mutationsamples for evaluation

Location:
GTP/trunk/Lib/Vis
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/GtpVisibility.sln

    r2130 r2199  
    88        EndProjectSection 
    99EndProject 
    10 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IVReader", "OnlineCullingCHC\IVReader\src\IVReader.vcproj", "{7319E499-473D-4CE5-9983-725D6E68A55D}" 
     10Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IVReader", "OnlineCullingCHC\IVReader\src\IVReader.vcproj", "{5776B40B-5FCE-46D5-8F7C-3912E24E0638}" 
    1111        ProjectSection(ProjectDependencies) = postProject 
    1212        EndProjectSection 
     
    1414Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Plugin_VisibilitySceneManager", "OnlineCullingCHC\OGRE\src\Plugin_VisibilitySceneManager.vcproj", "{80DECC17-BDDD-4412-8CF8-F7C1C17A7436}" 
    1515        ProjectSection(ProjectDependencies) = postProject 
     16                {5776B40B-5FCE-46D5-8F7C-3912E24E0638} = {5776B40B-5FCE-46D5-8F7C-3912E24E0638} 
     17                {5776B40B-5FCE-46D5-8F7C-3912E24E0638} = {5776B40B-5FCE-46D5-8F7C-3912E24E0638} 
     18                {5776B40B-5FCE-46D5-8F7C-3912E24E0638} = {5776B40B-5FCE-46D5-8F7C-3912E24E0638} 
     19                {EABCE292-D598-4600-A1C9-2591E7D62FDA} = {EABCE292-D598-4600-A1C9-2591E7D62FDA} 
    1620                {101A7691-74F3-48B4-96A3-CF35578F5900} = {101A7691-74F3-48B4-96A3-CF35578F5900} 
     21        EndProjectSection 
     22EndProject 
     23Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Preprocessor", "Preprocessing\src\Preprocessor.vcproj", "{EABCE292-D598-4600-A1C9-2591E7D62FDA}" 
     24        ProjectSection(ProjectDependencies) = postProject 
     25        EndProjectSection 
     26EndProject 
     27Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestPreprocessor", "Preprocessing\src\TestPreprocessor.vcproj", "{69BC58F0-C7EB-4B43-B782-B6F047EF0528}" 
     28        ProjectSection(ProjectDependencies) = postProject 
    1729                {EABCE292-D598-4600-A1C9-2591E7D62FDA} = {EABCE292-D598-4600-A1C9-2591E7D62FDA} 
    18                 {7319E499-473D-4CE5-9983-725D6E68A55D} = {7319E499-473D-4CE5-9983-725D6E68A55D} 
    19                 {7319E499-473D-4CE5-9983-725D6E68A55D} = {7319E499-473D-4CE5-9983-725D6E68A55D} 
    20                 {7319E499-473D-4CE5-9983-725D6E68A55D} = {7319E499-473D-4CE5-9983-725D6E68A55D} 
    21         EndProjectSection 
    22 EndProject 
    23 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Preprocessor", "Preprocessing\src\Preprocessor.vcproj", "{EABCE292-D598-4600-A1C9-2591E7D62FDA}" 
    24         ProjectSection(ProjectDependencies) = postProject 
    25         EndProjectSection 
    26 EndProject 
    27 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestPreprocessor", "Preprocessing\src\TestPreprocessor.vcproj", "{69BC58F0-C7EB-4B43-B782-B6F047EF0528}" 
    28         ProjectSection(ProjectDependencies) = postProject 
    29                 {EABCE292-D598-4600-A1C9-2591E7D62FDA} = {EABCE292-D598-4600-A1C9-2591E7D62FDA} 
    3030        EndProjectSection 
    3131EndProject 
    3232Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestCullingTerrain", "..\..\App\Demos\Vis\HillyTerrain\OGRE\TestCullingTerrain.vcproj", "{248F19A6-2FE0-4F5D-8928-E0EA10609887}" 
    3333        ProjectSection(ProjectDependencies) = postProject 
     34                {5776B40B-5FCE-46D5-8F7C-3912E24E0638} = {5776B40B-5FCE-46D5-8F7C-3912E24E0638} 
    3435                {80DECC17-BDDD-4412-8CF8-F7C1C17A7436} = {80DECC17-BDDD-4412-8CF8-F7C1C17A7436} 
    3536                {101A7691-74F3-48B4-96A3-CF35578F5900} = {101A7691-74F3-48B4-96A3-CF35578F5900} 
    36                 {7319E499-473D-4CE5-9983-725D6E68A55D} = {7319E499-473D-4CE5-9983-725D6E68A55D} 
    3737        EndProjectSection 
    3838EndProject 
    3939Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestKdTree", "..\..\App\Demos\Vis\KdTreeDemo\OGRE\scripts\TestKdTree.vcproj", "{17F2C6F9-6101-430E-ABF4-71383868EF24}" 
    4040        ProjectSection(ProjectDependencies) = postProject 
     41                {5776B40B-5FCE-46D5-8F7C-3912E24E0638} = {5776B40B-5FCE-46D5-8F7C-3912E24E0638} 
    4142                {80DECC17-BDDD-4412-8CF8-F7C1C17A7436} = {80DECC17-BDDD-4412-8CF8-F7C1C17A7436} 
    42                 {7319E499-473D-4CE5-9983-725D6E68A55D} = {7319E499-473D-4CE5-9983-725D6E68A55D} 
    43         EndProjectSection 
    44 EndProject 
    45 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ObjReader", "OnlineCullingCHC\ObjReader\src\ObjReader.vcproj", "{7319E499-473D-4CE5-9983-725D6E68A55D}" 
     43        EndProjectSection 
     44EndProject 
     45Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ObjReader", "OnlineCullingCHC\ObjReader\src\ObjReader.vcproj", "{5776B40B-5FCE-46D5-8F7C-3912E24E0638}" 
    4646        ProjectSection(ProjectDependencies) = postProject 
    4747        EndProjectSection 
     
    166166                {101A7691-74F3-48B4-96A3-CF35578F5900}.Universal Unicode Release.ActiveCfg = Release|Win32 
    167167                {101A7691-74F3-48B4-96A3-CF35578F5900}.Universal Unicode Release.Build.0 = Release|Win32 
    168                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Debug.ActiveCfg = Debug|Win32 
    169                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Debug.Build.0 = Debug|Win32 
    170                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Debug Static.ActiveCfg = Debug|Win32 
    171                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Debug Static.Build.0 = Debug|Win32 
    172                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Debug.ActiveCfg = Debug|Win32 
    173                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Debug.Build.0 = Debug|Win32 
    174                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Release.ActiveCfg = Release|Win32 
    175                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Release.Build.0 = Release|Win32 
    176                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Unicode Debug.ActiveCfg = Debug|Win32 
    177                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Unicode Debug.Build.0 = Debug|Win32 
    178                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Unicode Release.ActiveCfg = Release|Win32 
    179                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Unicode Release.Build.0 = Release|Win32 
    180                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Debug.ActiveCfg = Debug|Win32 
    181                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Debug.Build.0 = Debug|Win32 
    182                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Release.ActiveCfg = Release|Win32 
    183                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Release.Build.0 = Release|Win32 
    184                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Unicode Debug.ActiveCfg = Debug|Win32 
    185                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Unicode Debug.Build.0 = Debug|Win32 
    186                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Unicode Release.ActiveCfg = Release|Win32 
    187                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Unicode Release.Build.0 = Release|Win32 
    188                 {7319E499-473D-4CE5-9983-725D6E68A55D}.mlrt.ActiveCfg = mlrt|Win32 
    189                 {7319E499-473D-4CE5-9983-725D6E68A55D}.mlrt.Build.0 = mlrt|Win32 
    190                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release.ActiveCfg = Release|Win32 
    191                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release.Build.0 = Release|Win32 
    192                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release Internal.ActiveCfg = Release Internal|Win32 
    193                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release Internal.Build.0 = Release Internal|Win32 
    194                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release Static.ActiveCfg = Release|Win32 
    195                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release Static.Build.0 = Release|Win32 
    196                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release_Internal.ActiveCfg = Release_Internal|Win32 
    197                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release_Internal.Build.0 = Release_Internal|Win32 
    198                 {7319E499-473D-4CE5-9983-725D6E68A55D}.release_noqt.ActiveCfg = Release_qt|Win32 
    199                 {7319E499-473D-4CE5-9983-725D6E68A55D}.release_noqt.Build.0 = Release_qt|Win32 
    200                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release_qt.ActiveCfg = Release_qt|Win32 
    201                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release_qt.Build.0 = Release_qt|Win32 
    202                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Unicode Debug.ActiveCfg = Debug|Win32 
    203                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Unicode Debug.Build.0 = Debug|Win32 
    204                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Unicode Release.ActiveCfg = Release|Win32 
    205                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Unicode Release.Build.0 = Release|Win32 
    206                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Debug.ActiveCfg = Debug|Win32 
    207                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Debug.Build.0 = Debug|Win32 
    208                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Release.ActiveCfg = Release|Win32 
    209                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Release.Build.0 = Release|Win32 
    210                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Unicode Debug.ActiveCfg = Debug|Win32 
    211                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Unicode Debug.Build.0 = Debug|Win32 
    212                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Unicode Release.ActiveCfg = Release|Win32 
    213                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Unicode Release.Build.0 = Release|Win32 
     168                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Debug.ActiveCfg = Debug|Win32 
     169                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Debug.Build.0 = Debug|Win32 
     170                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Debug Static.ActiveCfg = Debug|Win32 
     171                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Debug Static.Build.0 = Debug|Win32 
     172                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Debug.ActiveCfg = Debug|Win32 
     173                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Debug.Build.0 = Debug|Win32 
     174                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Release.ActiveCfg = Release|Win32 
     175                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Release.Build.0 = Release|Win32 
     176                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Unicode Debug.ActiveCfg = Debug|Win32 
     177                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Unicode Debug.Build.0 = Debug|Win32 
     178                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Unicode Release.ActiveCfg = Release|Win32 
     179                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Unicode Release.Build.0 = Release|Win32 
     180                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Universal Debug.ActiveCfg = Debug|Win32 
     181                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Universal Debug.Build.0 = Debug|Win32 
     182                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Universal Release.ActiveCfg = Release|Win32 
     183                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Universal Release.Build.0 = Release|Win32 
     184                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Universal Unicode Debug.ActiveCfg = Debug|Win32 
     185                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Universal Unicode Debug.Build.0 = Debug|Win32 
     186                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Universal Unicode Release.ActiveCfg = Release|Win32 
     187                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.DLL Universal Unicode Release.Build.0 = Release|Win32 
     188                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.mlrt.ActiveCfg = mlrt|Win32 
     189                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.mlrt.Build.0 = mlrt|Win32 
     190                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Release.ActiveCfg = Release|Win32 
     191                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Release.Build.0 = Release|Win32 
     192                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Release Internal.ActiveCfg = Release Internal|Win32 
     193                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Release Internal.Build.0 = Release Internal|Win32 
     194                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Release Static.ActiveCfg = Release|Win32 
     195                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Release Static.Build.0 = Release|Win32 
     196                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Release_Internal.ActiveCfg = Release_Internal|Win32 
     197                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Release_Internal.Build.0 = Release_Internal|Win32 
     198                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.release_noqt.ActiveCfg = Release_qt|Win32 
     199                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.release_noqt.Build.0 = Release_qt|Win32 
     200                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Release_qt.ActiveCfg = Release_qt|Win32 
     201                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Release_qt.Build.0 = Release_qt|Win32 
     202                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Unicode Debug.ActiveCfg = Debug|Win32 
     203                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Unicode Debug.Build.0 = Debug|Win32 
     204                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Unicode Release.ActiveCfg = Release|Win32 
     205                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Unicode Release.Build.0 = Release|Win32 
     206                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Universal Debug.ActiveCfg = Debug|Win32 
     207                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Universal Debug.Build.0 = Debug|Win32 
     208                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Universal Release.ActiveCfg = Release|Win32 
     209                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Universal Release.Build.0 = Release|Win32 
     210                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Universal Unicode Debug.ActiveCfg = Debug|Win32 
     211                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Universal Unicode Debug.Build.0 = Debug|Win32 
     212                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Universal Unicode Release.ActiveCfg = Release|Win32 
     213                {5776B40B-5FCE-46D5-8F7C-3912E24E0638}.Universal Unicode Release.Build.0 = Release|Win32 
    214214                {80DECC17-BDDD-4412-8CF8-F7C1C17A7436}.Debug.ActiveCfg = Debug|Win32 
    215215                {80DECC17-BDDD-4412-8CF8-F7C1C17A7436}.Debug.Build.0 = Debug|Win32 
     
    442442                {17F2C6F9-6101-430E-ABF4-71383868EF24}.Universal Unicode Release.ActiveCfg = Release|Win32 
    443443                {17F2C6F9-6101-430E-ABF4-71383868EF24}.Universal Unicode Release.Build.0 = Release|Win32 
    444                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Debug.ActiveCfg = Debug|Win32 
    445                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Debug.Build.0 = Debug|Win32 
    446                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Debug Static.ActiveCfg = Debug|Win32 
    447                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Debug Static.Build.0 = Debug|Win32 
    448                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Debug.ActiveCfg = Debug|Win32 
    449                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Debug.Build.0 = Debug|Win32 
    450                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Release.ActiveCfg = Release|Win32 
    451                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Release.Build.0 = Release|Win32 
    452                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Unicode Debug.ActiveCfg = Debug|Win32 
    453                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Unicode Debug.Build.0 = Debug|Win32 
    454                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Unicode Release.ActiveCfg = Release|Win32 
    455                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Unicode Release.Build.0 = Release|Win32 
    456                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Debug.ActiveCfg = Debug|Win32 
    457                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Debug.Build.0 = Debug|Win32 
    458                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Release.ActiveCfg = Release|Win32 
    459                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Release.Build.0 = Release|Win32 
    460                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Unicode Debug.ActiveCfg = Debug|Win32 
    461                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Unicode Debug.Build.0 = Debug|Win32 
    462                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Unicode Release.ActiveCfg = Release|Win32 
    463                 {7319E499-473D-4CE5-9983-725D6E68A55D}.DLL Universal Unicode Release.Build.0 = Release|Win32 
    464                 {7319E499-473D-4CE5-9983-725D6E68A55D}.mlrt.ActiveCfg = mlrt|Win32 
    465                 {7319E499-473D-4CE5-9983-725D6E68A55D}.mlrt.Build.0 = mlrt|Win32 
    466                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release.ActiveCfg = Release|Win32 
    467                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release.Build.0 = Release|Win32 
    468                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release Internal.ActiveCfg = Release Internal|Win32 
    469                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release Internal.Build.0 = Release Internal|Win32 
    470                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release Static.ActiveCfg = Release|Win32 
    471                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release Static.Build.0 = Release|Win32 
    472                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release_Internal.ActiveCfg = Release_Internal|Win32 
    473                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release_Internal.Build.0 = Release_Internal|Win32 
    474                 {7319E499-473D-4CE5-9983-725D6E68A55D}.release_noqt.ActiveCfg = Release_qt|Win32 
    475                 {7319E499-473D-4CE5-9983-725D6E68A55D}.release_noqt.Build.0 = Release_qt|Win32 
    476                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release_qt.ActiveCfg = Release_qt|Win32 
    477                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Release_qt.Build.0 = Release_qt|Win32 
    478                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Unicode Debug.ActiveCfg = Debug|Win32 
    479                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Unicode Debug.Build.0 = Debug|Win32 
    480                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Unicode Release.ActiveCfg = Release|Win32 
    481                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Unicode Release.Build.0 = Release|Win32 
    482                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Debug.ActiveCfg = Debug|Win32 
    483                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Debug.Build.0 = Debug|Win32 
    484                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Release.ActiveCfg = Release|Win32 
    485                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Release.Build.0 = Release|Win32 
    486                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Unicode Debug.ActiveCfg = Debug|Win32 
    487                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Unicode Debug.Build.0 = Debug|Win32 
    488                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Unicode Release.ActiveCfg = Release|Win32 
    489                 {7319E499-473D-4CE5-9983-725D6E68A55D}.Universal Unicode Release.Build.0 = Release|Win32 
    490444        EndGlobalSection 
    491445        GlobalSection(ExtensibilityGlobals) = postSolution 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/ObjReader/src/ObjReader.vcproj

    r2183 r2199  
    44        Version="7.10" 
    55        Name="ObjReader" 
    6         ProjectGUID="{7319E499-473D-4CE5-9983-725D6E68A55D}" 
     6        ProjectGUID="{5776B40B-5FCE-46D5-8F7C-3912E24E0638}" 
    77        Keyword="Win32Proj"> 
    88        <Platforms> 
  • GTP/trunk/Lib/Vis/Preprocessing/scripts/preprocess_visibility_internal.sh

    r2162 r2199  
    1313export PATH=$PATH:../bin 
    1414 
    15 #NUM_SAMPLE_RAYS=1000000000 
    16 NUM_SAMPLE_RAYS=20000000 
     15NUM_SAMPLE_RAYS=200000000 
     16#NUM_SAMPLE_RAYS=50000000 
    1717 
    1818$PREPROCESSOR -total_samples=$NUM_SAMPLE_RAYS \ 
  • GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp

    r2198 r2199  
    2727#define USE_VOLUMES_FOR_HEURISTICS 1 
    2828#define TEST_POWERPLANT 0 
    29    
     29#define USE_BETTER_RENDERCOST_EST 0 
     30 
    3031//int BvhNode::sMailId = 10000; 
    3132//int BvhNode::sReservedMailboxes = 1; 
     
    172173        } 
    173174} 
     175 
     176 
    174177 
    175178/******************************************************************/ 
     
    673676        // high avg ray contri, the result is influenced by undersampling 
    674677        splitCandidate.SetAvgRayContribution(avgRayContri); 
    675         const float viewSpaceVol =  GetViewSpaceVolume(); 
     678        const float viewSpaceVol = GetViewSpaceVolume(); 
    676679 
    677680        const float oldVolume = EvalViewCellsVolume(leaf->mObjects) / viewSpaceVol; 
     
    10461049                Intersectable *obj = (*cit).mObject; 
    10471050 
    1048                 const float renderCost = mViewCellsManager->EvalRenderCost(obj); 
     1051#if USE_BETTER_RENDERCOST_EST 
     1052                const float renderCost = ViewCellsManager::EvalRenderCost(obj); 
    10491053                 
    10501054                objectsLeft += renderCost; 
    10511055                objectsRight -= renderCost; 
    10521056 
     1057                const bool noValidSplit = ((objectsLeft <= Limits::Small) || (objectsRight <= Limits::Small)); 
     1058 
     1059#else 
     1060                ++ objectsLeft; 
     1061                -- objectsRight; 
     1062 
     1063                const bool noValidSplit = !objectsLeft || !objectsRight; 
     1064#endif 
    10531065                const AxisAlignedBox3 obox = obj->GetBox(); 
    10541066 
     
    10701082                ar = rbox.SurfaceArea(); 
    10711083 
    1072                 const bool noValidSplit = ((objectsLeft <= Limits::Small) || (objectsRight <= Limits::Small)); 
    10731084                const float sum = noValidSplit ? 1e25f : objectsLeft * al + objectsRight * ar; 
    10741085       
     
    13171328        float volRight = totalVol; 
    13181329         
     1330#if USE_BETTER_RENDERCOST_EST 
    13191331        const float nTotalObjects = EvalAbsCost(tData.mNode->mObjects); 
    13201332        float nObjectsLeft = 0; 
    13211333        float nObjectsRight = nTotalObjects; 
     1334#else 
     1335        const int nTotalObjects = (int)EvalAbsCost(tData.mNode->mObjects); 
     1336        int nObjectsLeft = 0; 
     1337        int nObjectsRight = (int)nTotalObjects; 
     1338#endif 
    13221339 
    13231340        const float viewSpaceVol =  
     
    13621379                EvalHeuristicsContribution(object, volLeft, volRight); 
    13631380 
    1364                 const float rc = mViewCellsManager->EvalRenderCost(object); 
    1365  
     1381#if USE_BETTER_RENDERCOST_EST 
     1382 
     1383                const float rc = ViewCellsManager::EvalRenderCost(object); 
     1384                 
    13661385                nObjectsLeft += rc; 
    13671386                nObjectsRight -= rc; 
     
    13701389                const bool noValidSplit = ((nObjectsLeft <= Limits::Small) ||  
    13711390                                                                   (nObjectsRight <= Limits::Small)); 
    1372  
     1391#else 
     1392                ++ nObjectsLeft; 
     1393                -- nObjectsRight; 
     1394 
     1395                // split is only valid if #objects on left and right is not zero 
     1396                const bool noValidSplit = !nObjectsLeft || !nObjectsRight; 
     1397 
     1398#endif 
     1399                 
    13731400                // the heuristics 
    13741401            const float sum = noValidSplit ?  
     
    13781405                if (printStats) 
    13791406                { 
    1380                         PrintHeuristics(nObjectsRight, sum, volLeft, volRight, viewSpaceVol, 
     1407                        PrintHeuristics(nObjectsRight, sum, volLeft,  
     1408                                                        volRight, viewSpaceVol, 
    13811409                                                        sumStats, vollStats, volrStats); 
    13821410                } 
     
    14321460void BvHierarchy::PrepareLocalSubdivisionCandidates(const BvhTraversalData &tData, 
    14331461                                                                                                        const int axis)                                                                                  
    1434 {mSort2Timer.Entry(); 
     1462{ 
     1463        mSortTimer.Entry(); 
     1464         
    14351465        //-- insert object queries 
    14361466        ObjectContainer *objects = mUseGlobalSorting ?  
     
    14381468 
    14391469        CreateLocalSubdivisionCandidates(*objects, &mSubdivisionCandidates, !mUseGlobalSorting, axis); 
    1440                 mSort2Timer.Exit(); 
     1470         
     1471        mSortTimer.Exit(); 
    14411472} 
    14421473 
     
    14661497        for (oit = objects.begin(); oit < oit_end; ++ oit) 
    14671498        { 
    1468                 Intersectable *object = *oit; 
    1469                 const AxisAlignedBox3 &box = object->GetBox(); 
    1470                 const float midPt = (box.Min(axis) + box.Max(axis)) * 0.5f; 
    1471  
    1472                 (*subdivisionCandidates)->push_back(SortableEntry(object, midPt)); 
     1499                (*subdivisionCandidates)->push_back(SortableEntry(*oit, (*oit)->GetBox().Center(axis))); 
    14731500        } 
    14741501 
     
    15021529        const bool onlyUnmailed = true; 
    15031530 
    1504         const int numRays = CollectViewCells(tData.mNode->mObjects,  
    1505                                                                                  viewCells,  
    1506                                                                                  setCounter,  
    1507                                                                                  onlyUnmailed); 
    1508  
    1509         //cout << "number of rays: " << numRays << endl; 
     1531         
     1532        CollectViewCells(tData.mNode->mObjects,  
     1533                                         viewCells,  
     1534                                         setCounter,  
     1535                                         onlyUnmailed); 
    15101536 
    15111537        ViewCellContainer::const_iterator vit, vit_end = viewCells.end(); 
     1538 
    15121539        for (vit = viewCells.begin(); vit != vit_end; ++ vit) 
    15131540        { 
     
    15201547        } 
    15211548 
    1522         // we will mail view cells switching to the back side 
     1549        // mail view cells that go from front node to back node 
    15231550        ViewCell::NewMail(); 
    15241551         
     
    15361563        // (also multiple times, if they are pierced by several rays) 
    15371564        ViewCellContainer viewCells; 
     1565 
    15381566        const bool useMailboxing = false; 
    1539  
    1540         CollectViewCells(obj, viewCells, useMailboxing, false, true); 
     1567        const bool setCounter = false; 
     1568        const bool onlyUnmailedRays = true; 
     1569 
     1570        CollectViewCells(obj, viewCells, useMailboxing, setCounter, onlyUnmailedRays); 
    15411571 
    15421572        // classify view cells and compute volume contri accordingly 
     
    15511581                // view cells can also be seen from left child node 
    15521582                ViewCell *viewCell = *vit; 
     1583 
    15531584#if USE_VOLUMES_FOR_HEURISTICS 
    15541585                const float vol = viewCell->GetVolume(); 
     
    22482279        int nViewCells = 0; 
    22492280 
    2250         //ViewCell::NewMail(); 
     2281        ViewCell::NewMail(); 
    22512282        ObjectContainer::const_iterator oit, oit_end = objects.end(); 
    22522283 
  • GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.h

    r2198 r2199  
    660660        PerfTimer mSplitTimer; 
    661661        PerfTimer mPlaneTimer; 
    662         PerfTimer mSort2Timer; 
     662        PerfTimer mSortTimer; 
    663663        PerfTimer mCollectTimer; 
    664664 
  • GTP/trunk/Lib/Vis/Preprocessing/src/HashPvs.h

    r2176 r2199  
    1313 
    1414 
    15 template<typename T> 
     15/*template<typename T> 
    1616struct my_hash_compare 
    1717{ 
     
    3232      return a < b; 
    3333   } 
    34 }; 
     34};*/ 
    3535 
    3636 
  • GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp

    r2198 r2199  
    163163                "Hierarchy.useTraversalTree", mUseTraversalTree); 
    164164 
    165         // for comparing it with byte - value 
    166         mTermMaxMemory *= (1024.0f * 1024.0f); 
    167  
    168165        Debug << "******** Hierarchy Manager Options ***********" << endl; 
    169166        Debug << "max leaves: " << mTermMaxLeaves << endl; 
     
    182179        Debug << "max avg ray contribution: " << mMaxAvgRayContri << endl; 
    183180 
     181        // for comparing it with byte - value 
     182        mTermMaxMemory *= (1024.0f * 1024.0f); 
    184183 
    185184        switch (mConstructionType) 
     
    415414        double sortTime, evalTime, nodeTime, splitTime, subdTime, planeTime, collectTime, viewCellsTime; 
    416415 
    417         sortTime = mBvHierarchy->mSort2Timer.TotalTime(); 
     416        sortTime = mBvHierarchy->mSortTimer.TotalTime(); 
    418417        evalTime = mBvHierarchy->mEvalTimer.TotalTime(); 
    419418        nodeTime = mBvHierarchy->mNodeTimer.TotalTime(); 
     
    534533        cout << "\n" << ospSteps << " object space partition steps taken" << endl; 
    535534 
    536         // create view space 
     535        PrintTimings(true); 
     536 
     537        /////////////// 
     538        //-- create view space 
    537539        PrepareViewSpaceSubdivision(viewSpaceQueue, sampleRays, objects); 
    538540 
    539541        dirtyList.clear(); 
    540  
    541542        // view space subdivision started 
    542543        mViewSpaceSubdivisionType = mSavedViewSpaceSubdivisionType; 
     
    554555 
    555556                dirtyList.clear(); 
     557                PrintTimings(false); 
    556558        } 
    557559        else 
     
    11751177                        mHierarchyStats.mTotalCost = mBvHierarchy->mTotalCost; 
    11761178                         
    1177  
    11781179                        //mHierarchyStats.mPvsEntries -= mBvHierarchy->mPvsEntries + 1; 
    11791180                        mHierarchyStats.mPvsEntries = mBvHierarchy->CountViewCells(objects); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Intersectable.h

    r2198 r2199  
    66#include "Mailable.h" 
    77 
    8 #define STORE_VIEWCELLS_WITH_BVH 0 
     8#define STORE_VIEWCELLS_WITH_BVH 1 
    99 
    1010namespace GtpVisibilityPreprocessor { 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.icproj

    r1292 r2199  
    2222                                Name="CppCmplrTool" 
    2323                                Optimization="0" 
    24                                 AdditionalIncludeDirectories="..\include;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost" 
    25                                 PreprocessorDefinitions="WIN32;_DEBUG;_LIB;" 
     24                                AdditionalIncludeDirectories="..\include;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;Timer;..\src\sparsehash\src;..\src\sparsehash\src\windows;..\src\sparsehash\src\google;..\src\sparsehash\src\google\sparsehash" 
     25                                PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NO_QT" 
    2626                                MinimalRebuild="1" 
    2727                                BasicRuntimeChecks="3" 
     
    2929                                RuntimeTypeInfo="1" 
    3030                                UsePrecompiledHeader="0" 
     31                                BrowseInformation="1" 
    3132                                WarningLevel="3" 
    3233                                Detect64BitPortabilityProblems="1" 
     
    6667                        <Tool  
    6768                                Name="CppCmplrTool" 
    68                                 Optimization="0" 
    69                                 InlineFunctionExpansion="0" 
    70                                 FavorSizeOrSpeed="0" 
     69                                Optimization="3" 
     70                                GlobalOptimizations="1" 
     71                                InlineFunctionExpansion="2" 
     72                                EnableIntrinsicFunctions="1" 
     73                                FavorSizeOrSpeed="1" 
     74                                OmitFramePointers="1" 
     75                                EnableFiberSafeOptimizations="1" 
     76                                OptimizeForProcessor="0" 
    7177                                OptimizeForWindowsApplication="1" 
    72                                 AdditionalIncludeDirectories="..\include;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost" 
    73                                 PreprocessorDefinitions="WIN32;NDEBUG;_LIB" 
     78                                AdditionalIncludeDirectories="..\include;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;Timer" 
     79                                PreprocessorDefinitions="WIN32;NDEBUG;_LIB;USE_VERBOSE_PVS" 
    7480                                ExceptionHandling="1" 
    7581                                RuntimeLibrary="2" 
    7682                                DisableLanguageExtensions="0" 
    7783                                ForceConformanceInForLoopScope="0" 
    78                                 RuntimeTypeInfo="1" 
     84                                RuntimeTypeInfo="0" 
    7985                                UsePrecompiledHeader="0" 
     86                                BrowseInformation="1" 
    8087                                WarningLevel="2" 
    8188                                Detect64BitPortabilityProblems="1" 
     
    211218                        <Tool  
    212219                                Name="GeneralTool" 
     220                                OutputDirectory="Release" 
     221                                IntermediateDirectory="Release" 
     222                                ConfigurationType="4" 
     223                                CharacterSet="2"/> 
     224                        <Tool  
     225                                Name="DebugTool"/> 
     226                        <Tool  
     227                                Name="CppCmplrTool" 
     228                                Optimization="3" 
     229                                GlobalOptimizations="1" 
     230                                InlineFunctionExpansion="0" 
     231                                EnableIntrinsicFunctions="1" 
     232                                FavorSizeOrSpeed="1" 
     233                                OmitFramePointers="1" 
     234                                EnableFiberSafeOptimizations="1" 
     235                                OptimizeForProcessor="3" 
     236                                OptimizeForWindowsApplication="1" 
     237                                AdditionalIncludeDirectories="..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;..\MultiLevelRayTracing;&quot;$(QTDIR)\include\QtCore&quot;;&quot;$(QTDIR)\include\QtGui&quot;;&quot;$(QTDIR)\include&quot;;&quot;$(QTDIR)\include\QtOpenGl&quot;;&quot;$(CG_INC_PATH)&quot;;Timer;..\src\sparsehash\src\google\sparsehash;..\src\sparsehash\src\windows;..\src\sparsehash\src\google;..\src\sparsehash\src;..\src\ootl\;..\src\ootl\src\;..\src\ootl\src\cpp;..\src\ootl\src\cpp\include\;..\src\ootl\src\include\ootl;..\src\ootl\src\include\ootl\sandbox;..\src\ootl\src\cpp\include\ootl\mswin" 
     238                                PreprocessorDefinitions="WIN32;NDEBUG;_LIB;GTP_INTERNAL;USE_QT;USE_HASH_PVS" 
     239                                ExceptionHandling="1" 
     240                                RuntimeLibrary="2" 
     241                                EnableEnhancedInstructionSet="2" 
     242                                DisableLanguageExtensions="0" 
     243                                ForceConformanceInForLoopScope="0" 
     244                                RuntimeTypeInfo="0" 
     245                                UsePrecompiledHeader="0" 
     246                                BrowseInformation="1" 
     247                                WarningLevel="2" 
     248                                Detect64BitPortabilityProblems="1" 
     249                                DebugInformationFormat="3"/> 
     250                        <Tool  
     251                                Name="LinkerTool" 
     252                                DelayImpLib=""/> 
     253                        <Tool  
     254                                Name="LibrarianTool" 
     255                                OutputFile="../lib/Release/$(ProjectName).lib"/> 
     256                        <Tool  
     257                                Name="ResCmplrTool"/> 
     258                        <Tool  
     259                                Name="MidlCmplrTool"/> 
     260                        <Tool  
     261                                Name="BscMakeTool"/> 
     262                        <Tool  
     263                                Name="PreBuildEventTool"/> 
     264                        <Tool  
     265                                Name="PreLinkEventTool"/> 
     266                        <Tool  
     267                                Name="PostBuildEventTool"/> 
     268                        <Tool  
     269                                Name="CustomTool"/> 
     270                        <Tool  
     271                                Name="CustomNodeTool"/> 
     272                </Configuration> 
     273                <Configuration  
     274                        Name="release_noqt|Win32"> 
     275                        <Tool  
     276                                Name="GeneralTool" 
     277                                OutputDirectory="$(ConfigurationName)" 
     278                                IntermediateDirectory="$(ConfigurationName)" 
     279                                ConfigurationType="4" 
     280                                CharacterSet="2"/> 
     281                        <Tool  
     282                                Name="DebugTool"/> 
     283                        <Tool  
     284                                Name="CppCmplrTool" 
     285                                Optimization="3" 
     286                                GlobalOptimizations="1" 
     287                                InlineFunctionExpansion="2" 
     288                                EnableIntrinsicFunctions="1" 
     289                                FavorSizeOrSpeed="1" 
     290                                OmitFramePointers="1" 
     291                                EnableFiberSafeOptimizations="1" 
     292                                OptimizeForProcessor="0" 
     293                                OptimizeForWindowsApplication="1" 
     294                                AdditionalIncludeDirectories="..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;..\MultiLevelRayTracing;Timer" 
     295                                PreprocessorDefinitions="WIN32;NDEBUG;_LIB;GTP_INTERNAL;NO_QT" 
     296                                StringPooling="1" 
     297                                ExceptionHandling="1" 
     298                                RuntimeLibrary="2" 
     299                                EnableEnhancedInstructionSet="2" 
     300                                DisableLanguageExtensions="0" 
     301                                ForceConformanceInForLoopScope="0" 
     302                                RuntimeTypeInfo="0" 
     303                                UsePrecompiledHeader="0" 
     304                                BrowseInformation="1" 
     305                                WarningLevel="2" 
     306                                Detect64BitPortabilityProblems="1" 
     307                                DebugInformationFormat="3"/> 
     308                        <Tool  
     309                                Name="LinkerTool" 
     310                                DelayImpLib=""/> 
     311                        <Tool  
     312                                Name="LibrarianTool" 
     313                                OutputFile="../lib/Release/$(ProjectName).lib"/> 
     314                        <Tool  
     315                                Name="ResCmplrTool"/> 
     316                        <Tool  
     317                                Name="MidlCmplrTool"/> 
     318                        <Tool  
     319                                Name="BscMakeTool"/> 
     320                        <Tool  
     321                                Name="PreBuildEventTool"/> 
     322                        <Tool  
     323                                Name="PreLinkEventTool"/> 
     324                        <Tool  
     325                                Name="PostBuildEventTool"/> 
     326                        <Tool  
     327                                Name="CustomTool"/> 
     328                        <Tool  
     329                                Name="CustomNodeTool"/> 
     330                </Configuration> 
     331                <Configuration  
     332                        Name="Release_Qt|Win32"> 
     333                        <Tool  
     334                                Name="GeneralTool" 
    213335                                OutputDirectory="$(ConfigurationName)" 
    214336                                IntermediateDirectory="$(ConfigurationName)" 
     
    224346                                OptimizeForProcessor="3" 
    225347                                OptimizeForWindowsApplication="1" 
    226                                 AdditionalIncludeDirectories="..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;..\MultiLevelRayTracing" 
    227                                 PreprocessorDefinitions="WIN32;NDEBUG;_LIB;GTP_INTERNAL" 
     348                                AdditionalIncludeDirectories="..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;..\MultiLevelRayTracing;&quot;$(QTDIR)\include\QtCore&quot;;&quot;$(QTDIR)\include\QtGui&quot;;&quot;$(QTDIR)\include&quot;;&quot;$(QTDIR)\include\QtOpenGl&quot;;&quot;$(CG_INC_PATH)&quot;;Timer" 
     349                                PreprocessorDefinitions="WIN32;NDEBUG;_LIB;USE_QT;ATI" 
    228350                                ExceptionHandling="1" 
    229351                                RuntimeLibrary="2" 
     
    232354                                RuntimeTypeInfo="1" 
    233355                                UsePrecompiledHeader="0" 
     356                                BrowseInformation="1" 
    234357                                WarningLevel="2" 
    235358                                Detect64BitPortabilityProblems="1" 
     
    269392                        RelativePath=".\Beam.h"/> 
    270393                <File  
     394                        RelativePath=".\Timer\BenchTimer.cpp"/> 
     395                <File  
     396                        RelativePath=".\Timer\BenchTimer.h"/> 
     397                <File  
     398                        RelativePath=".\BitVectorPvs.h"/> 
     399                <File  
    271400                        RelativePath=".\BoostPreprocessorThread.cpp"/> 
    272401                <File  
     
    283412                        RelativePath=".\Camera.h"/> 
    284413                <File  
     414                        RelativePath=".\CombinedPreprocessor.cpp"/> 
     415                <File  
     416                        RelativePath=".\CombinedPreprocessor.h"/> 
     417                <File  
    285418                        RelativePath=".\common.cpp"/> 
    286419                <File  
     
    289422                        RelativePath=".\Containers.h"/> 
    290423                <File  
     424                        RelativePath=".\DefaultPvs.h"/> 
     425                <File  
    291426                        RelativePath=".\dual_depth.cg"/> 
    292427                <File  
     
    307442                        RelativePath=".\glInterface.h"/> 
    308443                <File  
     444                        RelativePath=".\GlobalLinesRenderer.cpp"/> 
     445                <File  
     446                        RelativePath=".\GlobalLinesRenderer.h"/> 
     447                <File  
     448                        RelativePath=".\GvsPreprocessor.cpp"/> 
     449                <File  
     450                        RelativePath=".\GvsPreprocessor.h"/> 
     451                <File  
    309452                        RelativePath=".\GzBinFileInputStream.cpp"/> 
    310453                <File  
     
    323466                        RelativePath=".\Halton.h"/> 
    324467                <File  
     468                        RelativePath=".\HashPvs.h"/> 
     469                <File  
    325470                        RelativePath=".\HierarchyManager.cpp"/> 
    326471                <File  
    327472                        RelativePath=".\HierarchyManager.h"/> 
    328473                <File  
     474                        RelativePath=".\IntelRayCaster.cpp"/> 
     475                <File  
     476                        RelativePath=".\IntelRayCaster.h"/> 
     477                <File  
     478                        RelativePath=".\InternalRayCaster.cpp"/> 
     479                <File  
     480                        RelativePath=".\InternalRayCaster.h"/> 
     481                <File  
     482                        RelativePath=".\Intersectable.cpp"/> 
     483                <File  
    329484                        RelativePath=".\Intersectable.h"/> 
    330485                <File  
    331                         RelativePath=".\KdIntersectable.cpp"/> 
    332                 <File  
    333                         RelativePath=".\KdIntersectable.h"/> 
     486                        RelativePath=".\IntersectableWrapper.cpp"/> 
     487                <File  
     488                        RelativePath=".\IntersectableWrapper.h"/> 
     489                <File  
     490                        RelativePath=".\IntersectionBoundingBoxConverter.cpp"/> 
     491                <File  
     492                        RelativePath=".\IntersectionBoundingBoxConverter.h"/> 
    334493                <File  
    335494                        RelativePath=".\KdTree.cpp"/> 
     
    349508                        RelativePath=".\Matrix4x4.h"/> 
    350509                <File  
     510                        RelativePath=".\Timer\merror.cpp"/> 
     511                <File  
     512                        RelativePath=".\Timer\merror.h"/> 
     513                <File  
    351514                        RelativePath=".\Mesh.cpp"/> 
    352515                <File  
     
    357520                        RelativePath=".\MeshKdTree.h"/> 
    358521                <File  
     522                        RelativePath=".\Timer\mstring.h"/> 
     523                <File  
     524                        RelativePath=".\Mutation.cpp"/> 
     525                <File  
     526                        RelativePath=".\Mutation.h"/> 
     527                <File  
    359528                        RelativePath=".\MutualVisibility.cpp"/> 
    360529                <File  
    361530                        RelativePath=".\MutualVisibility.h"/> 
    362531                <File  
     532                        RelativePath=".\ObjectPvs.cpp"/> 
     533                <File  
     534                        RelativePath=".\ObjectPvs.h"/> 
     535                <File  
     536                        RelativePath=".\ObjectsParser.cpp"/> 
     537                <File  
     538                        RelativePath=".\ObjectsParser.h"/> 
     539                <File  
     540                        RelativePath=".\ObjExporter.cpp"/> 
     541                <File  
     542                        RelativePath=".\ObjExporter.h"/> 
     543                <File  
    363544                        RelativePath=".\ObjParser.cpp"/> 
    364545                <File  
     
    375556                        RelativePath=".\Parser.h"/> 
    376557                <File  
     558                        RelativePath=".\Timer\PerfTimer.h"/> 
     559                <File  
     560                        RelativePath=".\Timer\PerfTimerSkeleton.h"/> 
     561                <File  
    377562                        RelativePath=".\Plane3.cpp"/> 
    378563                <File  
     
    430615                                        Outputs=""/> 
    431616                        </FileConfiguration> 
     617                        <FileConfiguration  
     618                                Name="release_noqt|Win32"> 
     619                                <Tool  
     620                                        Name="CustomTool" 
     621                                        Description="" 
     622                                        CommandLine="" 
     623                                        Outputs=""/> 
     624                        </FileConfiguration> 
     625                        <FileConfiguration  
     626                                Name="Release_Qt|Win32"> 
     627                                <Tool  
     628                                        Name="CustomTool" 
     629                                        Description="" 
     630                                        CommandLine="" 
     631                                        Outputs=""/> 
     632                        </FileConfiguration> 
    432633                </File> 
    433634                <File  
     635                        RelativePath=".\PreprocessorFactory.cpp"/> 
     636                <File  
     637                        RelativePath=".\PreprocessorFactory.h"/> 
     638                <File  
    434639                        RelativePath=".\PreprocessorThread.cpp"/> 
    435640                <File  
     
    467672                                        Outputs=""/> 
    468673                        </FileConfiguration> 
     674                        <FileConfiguration  
     675                                Name="release_noqt|Win32"> 
     676                                <Tool  
     677                                        Name="CustomTool" 
     678                                        Description="" 
     679                                        CommandLine="" 
     680                                        Outputs=""/> 
     681                        </FileConfiguration> 
     682                        <FileConfiguration  
     683                                Name="Release_Qt|Win32"> 
     684                                <Tool  
     685                                        Name="CustomTool" 
     686                                        Description="" 
     687                                        CommandLine="" 
     688                                        Outputs=""/> 
     689                        </FileConfiguration> 
    469690                </File> 
    470691                <File  
    471                         RelativePath=".\Pvs.cpp"/> 
    472                 <File  
    473692                        RelativePath=".\Pvs.h"/> 
    474693                <File  
     694                        RelativePath=".\PvsBase.h"/> 
     695                <File  
     696                        RelativePath=".\PvsDefinitions.h"/> 
     697                <File  
    475698                        RelativePath=".\Ray.cpp"/> 
    476699                <File  
    477700                        RelativePath=".\Ray.h"/> 
    478701                <File  
     702                        RelativePath=".\RayCaster.cpp"/> 
     703                <File  
     704                        RelativePath=".\RayCaster.h"/> 
     705                <File  
    479706                        RelativePath=".\RayInfo.cpp"/> 
    480707                <File  
    481708                        RelativePath=".\RayInfo.h"/> 
    482709                <File  
     710                        RelativePath=".\Timer\RDTSCTimer.cpp"/> 
     711                <File  
     712                        RelativePath=".\Timer\RDTSCTimer.h"/> 
     713                <File  
    483714                        RelativePath=".\Rectangle3.cpp"/> 
    484715                <File  
     
    493724                        RelativePath=".\RenderSimulator.h"/> 
    494725                <File  
     726                        RelativePath=".\RenderTexture.cpp"/> 
     727                <File  
     728                        RelativePath=".\RenderTexture.h"/> 
     729                <File  
    495730                        RelativePath=".\ResourceManager.h"/> 
    496731                <File  
     
    517752                        RelativePath=".\Statistics.h"/> 
    518753                <File  
     754                        RelativePath=".\SubdivisionCandidate.cpp"/> 
     755                <File  
    519756                        RelativePath=".\SubdivisionCandidate.h"/> 
    520757                <File  
     
    523760                        RelativePath=".\Tetrahedron3.h"/> 
    524761                <File  
     762                        RelativePath=".\Trackball.cpp"/> 
     763                <File  
     764                        RelativePath=".\Trackball.h"/> 
     765                <File  
     766                        RelativePath=".\TraversalTree.cpp"/> 
     767                <File  
     768                        RelativePath=".\TraversalTree.h"/> 
     769                <File  
    525770                        RelativePath=".\Triangle3.cpp"/> 
    526771                <File  
     
    585830                        RelativePath=".\X3dParser.h"/> 
    586831                <File  
     832                        RelativePath="..\include\AxisAlignedBox3.h"/> 
     833                <File  
     834                        RelativePath="..\include\Containers.h"/> 
     835                <File  
     836                        RelativePath="..\include\ExactPreprocessor.h"/> 
     837                <File  
     838                        RelativePath="..\include\KdTree.h"/> 
     839                <File  
     840                        RelativePath="..\include\Mesh.h"/> 
     841                <File  
     842                        RelativePath="..\include\Plane3.h"/> 
     843                <File  
     844                        RelativePath="..\include\Preprocessor.h"/> 
     845                <File  
     846                        RelativePath="..\include\SamplingPreprocessor.h"/> 
     847                <File  
     848                        RelativePath="..\include\SceneGraph.h"/> 
     849                <File  
     850                        RelativePath="..\include\Vector3.h"/> 
     851                <File  
     852                        RelativePath="..\include\ViewCell.h"/> 
     853                <File  
    587854                        RelativePath=".\X3dParserXerces.h"/> 
    588855                <File  
    589                         RelativePath="..\include\AxisAlignedBox3.h"/> 
    590                 <File  
    591                         RelativePath="..\include\Containers.h"/> 
    592                 <File  
    593                         RelativePath="..\include\ExactPreprocessor.h"/> 
    594                 <File  
    595                         RelativePath="..\include\KdTree.h"/> 
    596                 <File  
    597                         RelativePath="..\include\Mesh.h"/> 
    598                 <File  
    599                         RelativePath="..\include\Plane3.h"/> 
    600                 <File  
    601                         RelativePath="..\include\Preprocessor.h"/> 
    602                 <File  
    603                         RelativePath="..\include\SamplingPreprocessor.h"/> 
    604                 <File  
    605                         RelativePath="..\include\SceneGraph.h"/> 
    606                 <File  
    607                         RelativePath="..\include\Vector3.h"/> 
    608                 <File  
    609                         RelativePath="..\include\ViewCell.h"/> 
    610                 <File  
    611856                        RelativePath=".\GlRenderer.cpp"/> 
    612857                <File  
     
    617862                        RelativePath=".\Renderer.h"/> 
    618863                <File  
    619                         RelativePath=".\vtune\Preprocessor.vpj"/> 
     864                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_adapters.hpp"/> 
     865                <File  
     866                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_benchmark.hpp"/> 
     867                <File  
     868                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_bool_stack.hpp"/> 
     869                <File  
     870                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_dictionary.hpp"/> 
     871                <File  
     872                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_fft.hpp"/> 
     873                <File  
     874                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_fft_test.hpp"/> 
     875                <File  
     876                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_functions.hpp"/> 
     877                <File  
     878                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_generators.hpp"/> 
     879                <File  
     880                        RelativePath=".\ootl\src\include\ootl\ootl_hash.hpp"/> 
     881                <File  
     882                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_iterable.hpp"/> 
     883                <File  
     884                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_iterators.hpp"/> 
     885                <File  
     886                        RelativePath=".\ootl\src\include\ootl\ootl_list.hpp"/> 
     887                <File  
     888                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_map.hpp"/> 
     889                <File  
     890                        RelativePath=".\ootl\src\include\ootl\ootl_misc.hpp"/> 
     891                <File  
     892                        RelativePath=".\ootl\src\include\ootl\mswin\ootl_mswin.hpp"/> 
     893                <File  
     894                        RelativePath=".\ootl\src\include\ootl\mswin\ootl_mswin_console.hpp"/> 
     895                <File  
     896                        RelativePath=".\ootl\src\include\ootl\mswin\ootl_mswin_gdi.hpp"/> 
     897                <File  
     898                        RelativePath=".\ootl\src\include\ootl\mswin\ootl_mswin_simple_win.hpp"/> 
     899                <File  
     900                        RelativePath=".\ootl\src\include\ootl\ootl_object.hpp"/> 
     901                <File  
     902                        RelativePath=".\ootl\src\include\ootl\ootl_output.hpp"/> 
     903                <File  
     904                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_polar.hpp"/> 
     905                <File  
     906                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_predicate.hpp"/> 
     907                <File  
     908                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_procedure.hpp"/> 
     909                <File  
     910                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_ptr.hpp"/> 
     911                <File  
     912                        RelativePath=".\ootl\src\include\ootl\ootl_stack.hpp"/> 
     913                <File  
     914                        RelativePath=".\ootl\src\include\ootl\ootl_string.hpp"/> 
     915                <File  
     916                        RelativePath=".\ootl\src\include\ootl\ootl_string_utils.hpp"/> 
     917                <File  
     918                        RelativePath=".\ootl\src\include\ootl\ootl_tester.hpp"/> 
     919                <File  
     920                        RelativePath=".\ootl\src\include\ootl\ootl_timer.hpp"/> 
     921                <File  
     922                        RelativePath=".\ootl\src\include\ootl\sandbox\ootl_valarray.hpp"/> 
     923                <File  
     924                        RelativePath=".\ootl\src\include\ootl\ootl_vlist.hpp"/> 
     925                <File  
     926                        RelativePath=".\sparsehash\src\google\sparsehash\config.h"/> 
     927                <File  
     928                        RelativePath=".\sparsehash\src\google\dense_hash_map"/> 
     929                <File  
     930                        RelativePath=".\sparsehash\src\google\dense_hash_set"/> 
     931                <File  
     932                        RelativePath=".\sparsehash\src\google\sparsehash\densehashtable.h"/> 
     933                <File  
     934                        RelativePath=".\sparsehash\src\windows\hash_fun.h"/> 
     935                <File  
     936                        RelativePath=".\sparsehash\src\google\sparsehash\hash_fun.h"/> 
     937                <File  
     938                        RelativePath=".\sparsehash\src\windows\hash_map.h"/> 
     939                <File  
     940                        RelativePath=".\sparsehash\src\google\sparse_hash_map"/> 
     941                <File  
     942                        RelativePath=".\sparsehash\src\google\sparse_hash_set"/> 
     943                <File  
     944                        RelativePath=".\sparsehash\src\google\sparsehash\sparsehashtable.h"/> 
     945                <File  
     946                        RelativePath=".\sparsehash\src\google\sparsetable"/> 
     947                <File  
     948                        RelativePath=".\sparsehash\src\windows\stl_hash_fun.h"/> 
     949                <File  
     950                        RelativePath=".\VTune\Preprocessor.vpj"/> 
    620951        </Files> 
    621952</VisualStudioProject> 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.vcproj

    r2187 r2199  
    260260                <Configuration 
    261261                        Name="release_noqt|Win32" 
    262                         OutputDirectory="$(ConfigurationName)" 
    263                         IntermediateDirectory="$(ConfigurationName)" 
     262                        OutputDirectory="Release" 
     263                        IntermediateDirectory="Release" 
    264264                        ConfigurationType="4" 
    265265                        CharacterSet="2"> 
     
    268268                                Optimization="3" 
    269269                                GlobalOptimizations="TRUE" 
    270                                 InlineFunctionExpansion="0" 
     270                                InlineFunctionExpansion="2" 
    271271                                EnableIntrinsicFunctions="TRUE" 
    272272                                FavorSizeOrSpeed="1" 
     
    495495                        <File 
    496496                                RelativePath=".\HashPvs.h"> 
    497                         </File> 
    498                         <File 
    499                                 RelativePath=".\HashPvs2.h"> 
    500497                        </File> 
    501498                        <File 
     
    11661163                        </File> 
    11671164                        <File 
     1165                                RelativePath=".\sparsehash\src\windows\hash_fun.h"> 
     1166                        </File> 
     1167                        <File 
    11681168                                RelativePath=".\sparsehash\src\google\sparsehash\hash_fun.h"> 
    1169                         </File> 
    1170                         <File 
    1171                                 RelativePath=".\sparsehash\src\windows\hash_fun.h"> 
    11721169                        </File> 
    11731170                        <File 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Pvs.h

    r2176 r2199  
    515515 
    516516 
    517 template <typename T, typename S> void VerbosePvs<T, S>::Clear(const bool trim = true) 
     517template <typename T, typename S> void VerbosePvs<T, S>::Clear(const bool trim) 
    518518{ 
    519519        mEntries.clear(); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp

    r2187 r2199  
    211211        float r[6]; 
    212212        sHalton.GetNext(6, r); 
     213         
    213214        mPreprocessor.mViewCellsManager->GetViewPoint(origin, Vector3(r[0], 
    214215                                                                                                                                  r[1], 
     
    219220                                                                                                                                           r[5]) 
    220221                                                                                                                                           ) - origin; 
    221         //cout << "z"; 
     222         
    222223        const float c = Magnitude(direction); 
    223224 
     
    478479  int i; 
    479480  // pickup a distribution 
    480   for (i=0; i < mDistributions.size()-1; i++) 
     481  for (i=0; i < (int)mDistributions.size()-1; i++) 
    481482        if (r < mDistributions[i]->mRatio) 
    482483          break; 
    483  
     484  
    484485  bool result = mDistributions[i]->GenerateSample(ray); 
    485486 
     
    632633          } else 
    633634                if (strcmp(curr, "spatial")==0) { 
     635                        Debug << "here4 spatialbox" << endl; 
    634636                  mDistributions.push_back(new SpatialBoxBasedDistribution(mPreprocessor)); 
    635637                } else 
  • GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor.icproj

    r1292 r2199  
    2222                                Name="CppCmplrTool" 
    2323                                Optimization="0" 
    24                                 AdditionalIncludeDirectories="..\include;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost" 
    25                                 PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" 
     24                                AdditionalIncludeDirectories="..\include;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;..\src\sparsehash\src\" 
     25                                PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NO_QT" 
    2626                                MinimalRebuild="1" 
    2727                                BasicRuntimeChecks="3" 
    2828                                RuntimeLibrary="3" 
    2929                                UsePrecompiledHeader="0" 
     30                                BrowseInformation="1" 
    3031                                WarningLevel="3" 
    3132                                Detect64BitPortabilityProblems="1" 
     
    7374                        <Tool  
    7475                                Name="CppCmplrTool" 
    75                                 Optimization="0" 
    76                                 AdditionalIncludeDirectories="..\include;..\..\..\..\..\..\NonGTP\Boost;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\MultiLevelRayTracing" 
    77                                 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" 
    78                                 RuntimeLibrary="2" 
    79                                 RuntimeTypeInfo="1" 
    80                                 UsePrecompiledHeader="0" 
     76                                Optimization="3" 
     77                                GlobalOptimizations="1" 
     78                                InlineFunctionExpansion="2" 
     79                                EnableIntrinsicFunctions="1" 
     80                                FavorSizeOrSpeed="1" 
     81                                OmitFramePointers="1" 
     82                                EnableFiberSafeOptimizations="1" 
     83                                OptimizeForProcessor="0" 
     84                                OptimizeForWindowsApplication="1" 
     85                                AdditionalIncludeDirectories="..\include;..\..\..\..\..\..\NonGTP\Boost;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;..\..\MultiLevelRayTracing;Timer" 
     86                                PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NO_QT;USE_VERBOSE_PVS" 
     87                                RuntimeLibrary="2" 
     88                                EnableEnhancedInstructionSet="2" 
     89                                RuntimeTypeInfo="0" 
     90                                UsePrecompiledHeader="0" 
     91                                BrowseInformation="1" 
    8192                                WarningLevel="3" 
    8293                                Detect64BitPortabilityProblems="1" 
     
    184195                                Name="CppCmplrTool" 
    185196                                Optimization="3" 
    186                                 AdditionalIncludeDirectories="..\include;..\..\..\..\..\..\NonGTP\Boost;&quot;$(QTDIR)\include\QtOpenGl&quot;;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces" 
    187                                 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;GTP_INTERNAL" 
    188                                 RuntimeLibrary="2" 
    189                                 RuntimeTypeInfo="1" 
     197                                GlobalOptimizations="1" 
     198                                InlineFunctionExpansion="2" 
     199                                EnableIntrinsicFunctions="1" 
     200                                FavorSizeOrSpeed="1" 
     201                                OmitFramePointers="1" 
     202                                EnableFiberSafeOptimizations="1" 
     203                                OptimizeForProcessor="3" 
     204                                OptimizeForWindowsApplication="1" 
     205                                AdditionalIncludeDirectories="..\include;..\..\..\..\..\..\NonGTP\Boost;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;&quot;$(QTDIR)\include\QtOpenGl&quot;;&quot;$(QTDIR)\include\Qt&quot;;&quot;$(QTDIR)\include\QtCore&quot;;&quot;$(QTDIR)\include&quot;;QtInterface;..\src\sparsehash\src\;..\src\ootl\src\include\ootl;..\src\ootl\src\include\ootl\sandbox;$(NOINHERIT)" 
     206                                PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;GTP_INTERNAL;USE_QT;USE_CG;USE_HASH_PVS" 
     207                                ExceptionHandling="1" 
     208                                RuntimeLibrary="2" 
     209                                EnableEnhancedInstructionSet="2" 
     210                                RuntimeTypeInfo="0" 
     211                                UsePrecompiledHeader="0" 
     212                                WarningLevel="3" 
     213                                Detect64BitPortabilityProblems="1" 
     214                                DebugInformationFormat="3"/> 
     215                        <Tool  
     216                                Name="LinkerTool" 
     217                                DelayImpLib="" 
     218                                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 cg.lib cgGL.lib QtOpenGL4.lib Qt3Support4.lib QtTest4.lib QtGui4.lib QtInterface.lib" 
     219                                OutputFile="../bin/release/Preprocessor.exe" 
     220                                LinkIncremental="1" 
     221                                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;;.\QtInterface\Release;&quot;$(CG_LIB_PATH)&quot;" 
     222                                GenerateDebugInformation="0" 
     223                                SubSystem="1" 
     224                                LargeAddressAware="2" 
     225                                OptimizeReferences="2" 
     226                                EnableCOMDATFolding="2" 
     227                                OptimizeForWindows98="1" 
     228                                TargetMachine="1" 
     229                                FixedBaseAddress="1"/> 
     230                        <Tool  
     231                                Name="LibrarianTool"/> 
     232                        <Tool  
     233                                Name="ResCmplrTool"/> 
     234                        <Tool  
     235                                Name="MidlCmplrTool"/> 
     236                        <Tool  
     237                                Name="BscMakeTool"/> 
     238                        <Tool  
     239                                Name="PreBuildEventTool"/> 
     240                        <Tool  
     241                                Name="PreLinkEventTool"/> 
     242                        <Tool  
     243                                Name="PostBuildEventTool"/> 
     244                        <Tool  
     245                                Name="CustomTool"/> 
     246                        <Tool  
     247                                Name="CustomNodeTool"/> 
     248                </Configuration> 
     249                <Configuration  
     250                        Name="release_noqt|Win32"> 
     251                        <Tool  
     252                                Name="GeneralTool" 
     253                                OutputDirectory="$(ConfigurationName)" 
     254                                IntermediateDirectory="$(ConfigurationName)" 
     255                                ConfigurationType="1" 
     256                                CharacterSet="2"/> 
     257                        <Tool  
     258                                Name="DebugTool"/> 
     259                        <Tool  
     260                                Name="CppCmplrTool" 
     261                                Optimization="3" 
     262                                GlobalOptimizations="1" 
     263                                InlineFunctionExpansion="2" 
     264                                EnableIntrinsicFunctions="1" 
     265                                FavorSizeOrSpeed="1" 
     266                                OmitFramePointers="1" 
     267                                EnableFiberSafeOptimizations="1" 
     268                                OptimizeForProcessor="0" 
     269                                OptimizeForWindowsApplication="1" 
     270                                AdditionalIncludeDirectories="..\include;..\..\..\..\..\..\NonGTP\Boost;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;&quot;$(QTDIR)\include\QtOpenGl&quot;;&quot;$(QTDIR)\include\Qt&quot;;&quot;$(QTDIR)\include\QtCore&quot;;&quot;$(QTDIR)\include&quot;" 
     271                                PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;GTP_INTERNAL;NO_QT" 
     272                                StringPooling="1" 
     273                                MinimalRebuild="0" 
     274                                RuntimeLibrary="2" 
     275                                EnableEnhancedInstructionSet="2" 
     276                                RuntimeTypeInfo="0" 
    190277                                UsePrecompiledHeader="0" 
    191278                                WarningLevel="3" 
     
    199286                                LinkIncremental="1" 
    200287                                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" 
     288                                GenerateDebugInformation="0" 
     289                                SubSystem="1" 
     290                                LargeAddressAware="0" 
     291                                OptimizeReferences="2" 
     292                                EnableCOMDATFolding="2" 
     293                                OptimizeForWindows98="1" 
     294                                TargetMachine="1" 
     295                                FixedBaseAddress="1"/> 
     296                        <Tool  
     297                                Name="LibrarianTool"/> 
     298                        <Tool  
     299                                Name="ResCmplrTool"/> 
     300                        <Tool  
     301                                Name="MidlCmplrTool"/> 
     302                        <Tool  
     303                                Name="BscMakeTool"/> 
     304                        <Tool  
     305                                Name="PreBuildEventTool"/> 
     306                        <Tool  
     307                                Name="PreLinkEventTool"/> 
     308                        <Tool  
     309                                Name="PostBuildEventTool"/> 
     310                        <Tool  
     311                                Name="CustomTool"/> 
     312                        <Tool  
     313                                Name="CustomNodeTool"/> 
     314                </Configuration> 
     315                <Configuration  
     316                        Name="Release_Qt|Win32"> 
     317                        <Tool  
     318                                Name="GeneralTool" 
     319                                OutputDirectory="$(ConfigurationName)" 
     320                                IntermediateDirectory="$(ConfigurationName)" 
     321                                ConfigurationType="1" 
     322                                CharacterSet="2"/> 
     323                        <Tool  
     324                                Name="DebugTool"/> 
     325                        <Tool  
     326                                Name="CppCmplrTool" 
     327                                Optimization="3" 
     328                                GlobalOptimizations="1" 
     329                                InlineFunctionExpansion="2" 
     330                                FavorSizeOrSpeed="1" 
     331                                EnableFiberSafeOptimizations="1" 
     332                                OptimizeForProcessor="3" 
     333                                OptimizeForWindowsApplication="1" 
     334                                AdditionalIncludeDirectories="..\include;..\..\..\..\..\..\NonGTP\Boost;..\src;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;..\..\..\..\..\..\NonGTP\Xerces;&quot;$(QTDIR)\include\QtOpenGl&quot;;&quot;$(QTDIR)\include\Qt&quot;;&quot;$(QTDIR)\include\QtCore&quot;;&quot;$(QTDIR)\include&quot;;QtInterface" 
     335                                PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;USE_QT" 
     336                                RuntimeLibrary="2" 
     337                                RuntimeTypeInfo="1" 
     338                                UsePrecompiledHeader="0" 
     339                                WarningLevel="3" 
     340                                Detect64BitPortabilityProblems="1" 
     341                                DebugInformationFormat="3"/> 
     342                        <Tool  
     343                                Name="LinkerTool" 
     344                                DelayImpLib="" 
     345                                AdditionalDependencies="xerces-c_2.lib glew32.lib zdll.lib zziplib.lib devil.lib glut32.lib OpenGL32.Lib glu32.lib Preprocessor.lib QtCore4.lib qtmain.lib cg.lib cgGL.lib QtOpenGL4.lib Qt3Support4.lib QtTest4.lib QtGui4.lib QtInterface.lib" 
     346                                OutputFile="../bin/release/Preprocessor.exe" 
     347                                LinkIncremental="1" 
     348                                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;;.\QtInterface\Release;&quot;$(CG_LIB_PATH)&quot;" 
    201349                                GenerateDebugInformation="0" 
    202350                                SubSystem="1" 
     
    229377                        RelativePath=".\main.cpp"/> 
    230378                <File  
    231                         RelativePath=".\vtune\TestPreprocessor.vpj"/> 
     379                        RelativePath=".\VTune\TestPreprocessor.vpj"/> 
    232380        </Files> 
    233381</VisualStudioProject> 
  • GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor.vcproj

    r2198 r2199  
    247247                <Configuration 
    248248                        Name="release_noqt|Win32" 
    249                         OutputDirectory="$(ConfigurationName)" 
    250                         IntermediateDirectory="$(ConfigurationName)" 
     249                        OutputDirectory="Release" 
     250                        IntermediateDirectory="Release" 
    251251                        ConfigurationType="1" 
    252252                        CharacterSet="2"> 
     
    281281                                LinkIncremental="1" 
    282282                                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" 
    283                                 GenerateDebugInformation="TRUE" 
     283                                GenerateDebugInformation="FALSE" 
    284284                                SubSystem="1" 
    285285                                LargeAddressAware="0" 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp

    r2164 r2199  
    167167 
    168168 
    169 float ViewCell::GetVolume() const 
    170 { 
    171         return mVolume; 
    172 } 
    173  
    174  
    175 void ViewCell::SetVolume(float volume)  
    176 { 
    177         mVolume = volume; 
    178 } 
    179  
    180  
    181169void ViewCell::SetMesh(Mesh *mesh) 
    182170{ 
    183171        mMesh = mesh; 
    184 } 
    185  
    186  
    187 float ViewCell::GetArea() const 
    188 { 
    189         return mArea; 
    190 } 
    191  
    192  
    193 void ViewCell::SetArea(float area)  
    194 { 
    195         mArea = area; 
    196172} 
    197173 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.h

    r2176 r2199  
    173173        */ 
    174174        void SetPvs(const ObjectPvs &pvs); 
    175         /** Type of view cells. 
     175        /** Type of view cell. 
    176176        */ 
    177177        int Type() const; 
     
    181181        /** Returns volume of the view cell. 
    182182        */ 
    183         float GetVolume() const; 
     183        inline float GetVolume() const 
     184        { 
     185                return mVolume; 
     186        } 
     187        /** Sets the volume of the view cell. 
     188        */ 
     189        inline void SetVolume(float volume) 
     190        { 
     191                mVolume = volume; 
     192        } 
    184193        /** Returns area of the view cell. 
    185194        */ 
    186         float GetArea() const; 
    187         /** Sets the volume of the view cell. 
    188         */ 
    189         void SetVolume(float volume); 
     195        inline float GetArea() const 
     196        { 
     197                return mArea; 
     198        } 
    190199        /** Sets the area of the view cell. 
    191200        */ 
    192         void SetArea(float area); 
     201        void SetArea(float area) 
     202        { 
     203                mArea = area; 
     204        } 
    193205        /** if this view cell is the root of a view cell hierarchy 
    194206        */ 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r2198 r2199  
    8383        mViewCellsTree->SetViewCellsManager(this); 
    8484        mSamplesStat.Reset(); 
    85 } 
    86  
    87  
    88 int ViewCellsManager::CastPassSamples2(const int samplesPerPass,  
    89                                                                            VssRayContainer &passSamples) const 
    90 { 
     85        mStats.open("mystats.log"); 
     86} 
     87 
     88 
     89int ViewCellsManager::CastEvaluationSamples(const int samplesPerPass, 
     90                                                                                        VssRayContainer &passSamples) 
     91{ 
     92        static int pass = 0; 
     93        static int totalRays = 0; 
     94 
     95        SimpleRayContainer rays; 
     96        rays.reserve(samplesPerPass); 
     97        passSamples.reserve(samplesPerPass * 2); 
     98   
    9199        long startTime = GetTime(); 
    92100 
    93         SimpleRayContainer simpleRays; 
    94          
    95         simpleRays.reserve(samplesPerPass); 
    96         passSamples.reserve(samplesPerPass * 2); // always creates double rays 
    97  
    98         // create one third of each type 
    99         int castRays = 0; 
    100  
    101         mMixtureDistribution->GenerateSamples(mSamplesPerPass, simpleRays); 
    102  
    103         cout << "generated " << (int)simpleRays.size() << " samples in "  
    104                  << TimeDiff(startTime, GetTime()) * 1e-3 << " secs" << endl; 
    105  
    106         startTime = GetTime(); 
    107  
    108         // shoot simple ray and add it to importance samples 
    109         mPreprocessor->CastRays(simpleRays, passSamples, true); 
    110  
    111     cout << "cast " <<  samplesPerPass << " samples in "  
    112                  << TimeDiff(startTime, GetTime()) * 1e-3 << " secs" << endl; 
     101        //cout<<"Progress :"<<i/1e6f<<"M rays, "<<(100.0f*i)/mTotalSamples<<"%"<<endl; 
     102         
     103        //rays.clear(); 
     104        //passSamples.clear(); 
     105         
     106        mMixtureDistribution->GenerateSamples(samplesPerPass, rays); 
     107         
     108        bool doubleRays = true; 
     109        bool pruneInvalidRays = true; 
     110        mPreprocessor->CastRays(rays, passSamples, doubleRays, pruneInvalidRays); 
    113111 
    114112        mMixtureDistribution->ComputeContributions(passSamples); 
     113        mMixtureDistribution->UpdateDistributions(passSamples); 
     114         
     115        Real time = TimeDiff(startTime, GetTime()); 
     116        PrintPvsStatistics(mStats); 
     117         
     118        mStats << 
     119                "#Pass\n" << pass ++ <<endl<< 
     120                "#Time\n" << time <<endl<< 
     121                "#TotalSamples\n" <<totalRays<<endl; 
     122 
     123        float last = 0.0f; 
     124 
     125        for (int k=0; k < 6; ++ k)  
     126        { 
     127                float ratio = 0.0f; 
     128 
     129                if (k < mMixtureDistribution->mDistributions.size())  
     130                { 
     131                        ratio = mMixtureDistribution->mDistributions[k]->mRatio-last; 
     132                        last = mMixtureDistribution->mDistributions[k]->mRatio; 
     133                } 
     134 
     135                mStats <<  "#Distribution"<<k<<endl<< ratio<<endl; 
     136        } 
     137         
     138 
     139        totalRays += samplesPerPass; 
    115140 
    116141        return (int)passSamples.size(); 
     
    173198                Debug << mStrategies[i] << " "; 
    174199        Debug << endl; 
    175  
    176         // now decode distribution string 
    177         char buff[1024]; 
    178         Environment::GetSingleton()->GetStringValue("RssPreprocessor.distributions", buff); 
    179  
    180         mMixtureDistribution = new MixtureDistribution(*mPreprocessor); 
    181         mMixtureDistribution->Construct(buff); 
    182  
    183200 
    184201        // sampling type for view cells construction samples 
     
    301318        Debug << "export pvs for view cells: " << mExportPvs << endl; 
    302319        Debug << "use kd pvs " << mUseKdPvs << endl; 
     320 
    303321        Debug << endl; 
    304322} 
     
    805823        mPreprocessor = preprocessor; 
    806824         
     825        // now decode distribution string 
     826        char mix[1024]; 
     827        Environment::GetSingleton()->GetStringValue("RssPreprocessor.distributions", mix); 
     828        Debug << "using mixture distributions: " << mix << endl; 
     829 
     830        mMixtureDistribution = new MixtureDistribution(*mPreprocessor); 
     831        mMixtureDistribution->Construct(mix); 
    807832 
    808833        /////////////////////////////////////////////////////// 
     
    68736898                Debug << "casting " << samplesPerPass << " samples ... "; 
    68746899         
    6875                 if (1) 
    6876                 { 
     6900                if (0) 
    68776901                        CastPassSamples(samplesPerPass, evalStrats, evaluationSamples); 
    6878                 } 
    68796902                else 
    6880                 { 
    68816903                        // use mixed distributions 
    6882                         CastPassSamples2(samplesPerPass, evaluationSamples); 
    6883                 } 
     6904                        CastEvaluationSamples(samplesPerPass, evaluationSamples); 
    68846905 
    68856906                castSamples += samplesPerPass; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h

    r2176 r2199  
    623623                                                                  const float width) const; 
    624624 
     625 
     626 
    625627        ////////////////////////////////////////////////////////////////// 
    626628 
     
    704706                                                VssRayContainer &vssRays) const; 
    705707 
    706         int CastPassSamples2(const int samplesPerPass,  
    707                                                  VssRayContainer &passSamples) const; 
     708        int CastEvaluationSamples(const int samplesPerPass,  
     709                                                          VssRayContainer &passSamples);// const; 
    708710 
    709711        /** Parse the options from the environment file. 
     
    797799 
    798800 
     801        ofstream mStats; 
    799802        Preprocessor *mPreprocessor; 
    800803         
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp

    r2198 r2199  
    996996        interior->mTimeStamp = mHierarchyManager->mTimeStamp ++; 
    997997 
    998 #if WORK_WITH_VIEWCELL_PVS 
    999         // create front and back view cell 
    1000         // add front and back view cell to  
    1001         // "potentially visible view cells"  
    1002         // of the objects in front and back pvs 
    1003  
    1004         AddViewCellReferences(frontLeaf->GetViewCell()); 
    1005         AddViewCellReferences(backLeaf->GetViewCell()); 
    1006 #endif 
    1007  
    1008998        mNodeTimer.Exit(); 
    1009999 
     
    29312921        VspTraversalData vData(leaf, 0, &rays, pvsCost, prop, mBoundingBox); 
    29322922 
    2933 #if WORK_WITH_VIEWCELL_PVS 
    2934         // add first view cell to all the objects view cell pvs 
    2935         ObjectPvsEntries::const_iterator oit,  
    2936                 oit_end = leaf->GetViewCell()->GetPvs().mEntries.end(); 
    2937  
    2938         for (oit = leaf->GetViewCell()->GetPvs().mEntries.begin(); oit != oit_end; ++ oit) 
    2939         { 
    2940                 Intersectable *obj = (*oit).first; 
    2941                 obj->mViewCellPvs.AddSample(leaf->GetViewCell(), 1); 
    2942         } 
    2943 #endif 
    2944  
    29452923        mTotalCost = vData.mCorrectedRenderCost = vData.mRenderCost = pvsCost; 
    29462924        mPvsEntries = EvalPvsEntriesSize(rays); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.h

    r2198 r2199  
    897897                @param rightPvs updates the right pvs 
    898898        */ 
    899         void EvalHeuristics(const SortableEntry &ve, float &pvsLeft, float &pvsRight) const; 
     899        inline void EvalHeuristics(const SortableEntry &ve, float &pvsLeft, float &pvsRight) const; 
    900900 
    901901        /** Evaluates contribution of min event to pvs 
    902902        */ 
    903         int EvalMinEventContribution( 
     903        inline int EvalMinEventContribution( 
    904904                const VssRay &ray, const bool isTermination) const; 
    905905 
    906906        /** Evaluates contribution of max event to pvs 
    907907        */ 
    908         int EvalMaxEventContribution( 
     908        inline int EvalMaxEventContribution( 
    909909                const VssRay &ray, const bool isTermination) const; 
    910910 
    911911        /** Evaluates contribution of kd leaf when encountering a min event 
    912912        */ 
    913         int EvalMinEventContribution(KdLeaf *leaf) const; 
     913        inline int EvalMinEventContribution(KdLeaf *leaf) const; 
    914914        /**  Evaluates contribution of kd leaf when encountering a max event 
    915915        */ 
    916         int EvalMaxEventContribution(KdLeaf *leaf) const; 
     916        inline int EvalMaxEventContribution(KdLeaf *leaf) const; 
    917917 
    918918        /** Prepares objects for the heuristics. 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.cpp

    r2198 r2199  
    143143VssPreprocessor::ExportRays(const char *filename, 
    144144                                                        const VssRayContainer &vssRays, 
    145                                                         const int number 
     145                                                        const int number, 
     146                                                        const bool exportScene 
    146147                                                        ) 
    147148{ 
     
    422423 
    423424                                mViewCellsManager->GetViewPoint(viewpoint); 
    424                                 const Vector3 direction = GetDirection(viewpoint, &mViewCellsManager->GetViewSpaceBox()); 
     425                                AxisAlignedBox3 vspBox = mViewCellsManager->GetViewSpaceBox(); 
     426                                const Vector3 direction = GetDirection(viewpoint, &vspBox); 
    425427 
    426428                                const SimpleRay sray(viewpoint, direction, 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.h

    r2176 r2199  
    5252                           ); 
    5353         
    54  
    55   bool 
    56   ExportRays(const char *filename, 
    57                          const VssRayContainer &vssRays, 
    58                          const int number 
    59                          ); 
     54virtual bool 
     55        ExportRays(const char *filename, 
     56                           const VssRayContainer &vssRays, 
     57                           const int number, 
     58                           const bool exportScene = false 
     59                           ); 
     60  
    6061 
    6162  int 
Note: See TracChangeset for help on using the changeset viewer.