Changeset 2660 for GTP/trunk/Lib/Vis/Preprocessing/src
- Timestamp:
- 04/28/08 02:10:37 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GtpVisibility05.vcproj
r2659 r2660 115 115 <Tool 116 116 Name="VCCLCompilerTool" 117 AdditionalIncludeDirectories="..\src;Timer;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include; ..\..\..\..\..\..\NonGTP\Xerces;..\..\..\..\..\..\NonGTP\Boost;..\src\havran;..\MultiLevelRayTracing;"$(CG_INC_PATH)""117 AdditionalIncludeDirectories="..\src;Timer;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;"..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0-x86-windows-vc_8_0\include";..\..\..\..\..\..\NonGTP\Boost;..\src\havran;..\MultiLevelRayTracing;"$(CG_INC_PATH)"" 118 118 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;USE_VERBOSE_PVS;USE_QT;GTP_INTERNAL;USE_CG" 119 119 RuntimeLibrary="2" -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r2659 r2660 630 630 bool Preprocessor::PrepareViewCells() 631 631 { 632 #if 0 632 633 // load the view cells assigning the found objects to the pvss 633 #if 0634 634 cerr << "loading binary view cells" << endl; 635 635 ViewCellsManager *dummyViewCellsManager = … … 668 668 const bool finalizeViewCells = true; 669 669 cout << "loading view cells from " << buf << endl; 670 cout<<"here965"<<endl; 670 671 671 mViewCellsManager = ViewCellsManager::LoadViewCells(buf, 672 672 pvsObjects, -
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2648 r2660 437 437 { 438 438 #if USE_TRANSFORMED_MESH_INSTANCE_HACK 439 //cerr << "here45\n****"<<endl;440 439 RenderIntersectable(*dit); 441 440 #else -
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtInterface05.vcproj
r2659 r2660 104 104 Name="VCCLCompilerTool" 105 105 WholeProgramOptimization="true" 106 AdditionalIncludeDirectories="..\src;..\..\src\;..\..\..\..\..\..\..\NonGTP\Zlib\include;"$(QTDIR)\include\QtOpenGL";"$(QTDIR)\include\Qt";"$(QTDIR)\include\QtGui";"$(QTDIR)\include\QtCore";"$(QTDIR)\include";"$(CG_INC_PATH)" "106 AdditionalIncludeDirectories="..\src;..\..\src\;..\..\..\..\..\..\..\NonGTP\Zlib\include;"$(QTDIR)\include\QtOpenGL";"$(QTDIR)\include\Qt";"$(QTDIR)\include\QtGui";"$(QTDIR)\include\QtCore";"$(QTDIR)\include";"$(CG_INC_PATH)";"..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0-x86-windows-vc_8_0\include"" 107 107 PreprocessorDefinitions="WIN32;NDEBUG;_LIB;GTP_INTERNAL;USE_QT;USE_VERBOSE_PVS;USE_CG" 108 108 RuntimeLibrary="2" -
GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.cpp
r2635 r2660 156 156 #endif 157 157 158 #if REMOVE_TEMP 158 159 _SortRays(rays, 159 160 0, … … 162 163 b 163 164 ); 165 #endif 164 166 } 165 167 … … 169 171 const int r, 170 172 const int depth, 171 float box[12])173 float *box) 172 174 { 173 175 // pick-up a pivot 174 int axis ;176 int axis = 0; 175 177 176 178 float maxDiff = -1.0f; -
GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.h
r2629 r2660 187 187 const int r, 188 188 const int depth, 189 float box[12]);189 float *box); 190 190 191 191 void _SortRays2(SimpleRayContainer &rays, -
GTP/trunk/Lib/Vis/Preprocessing/src/TestPreprocessor05.vcproj
r2659 r2660 129 129 EnableFiberSafeOptimizations="false" 130 130 WholeProgramOptimization="true" 131 AdditionalIncludeDirectories="..\src;..\include;..\..\..\..\..\..\NonGTP\Boost;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include; ..\..\..\..\..\..\NonGTP\Xerces;"$(QTDIR)\include\QtOpenGl";"$(QTDIR)\include\Qt";"$(QTDIR)\include\QtCore";"$(QTDIR)\include";QtInterface;..\src\sparsehash\src\;..\src\ootl\src\include\ootl;..\src\ootl\src\include\ootl\sandbox;$(NOINHERIT)"131 AdditionalIncludeDirectories="..\src;..\include;..\..\..\..\..\..\NonGTP\Boost;..\..\..\..\..\..\NonGTP\Devil\include;..\..\..\..\..\..\NonGTP\Zlib\include;"$(QTDIR)\include\QtOpenGl";"$(QTDIR)\include\Qt";"$(QTDIR)\include\QtCore";"$(QTDIR)\include";QtInterface;..\src\sparsehash\src\;..\src\ootl\src\include\ootl;..\src\ootl\src\include\ootl\sandbox;"..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0-x86-windows-vc_8_0\include";$(NOINHERIT)" 132 132 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;GTP_INTERNAL;USE_QT;USE_CG;USE_VERBOSE_PVS" 133 133 StringPooling="true" … … 156 156 OutputFile="../bin/$(ConfigurationName)/Preprocessor.exe" 157 157 LinkIncremental="1" 158 AdditionalLibraryDirectories=""$(QTDIR)\lib";..\src\GL;"..\lib05\$(ConfigurationName)";..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\ Xerces\xercesc\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib;"..\MultiLevelRayTracing\RTScene\$(ConfigurationName)";"..\MultiLevelRayTracing\RTWorld\$(ConfigurationName)";"QtInterface\$(ConfigurationName)";"$(CG_LIB_PATH)""158 AdditionalLibraryDirectories=""$(QTDIR)\lib";..\src\GL;"..\lib05\$(ConfigurationName)";..\..\..\..\..\..\NonGTP\Boost\lib;..\..\..\..\..\..\NonGTP\Zlib\lib;..\..\..\..\..\..\NonGTP\Devil\lib;"..\MultiLevelRayTracing\RTScene\$(ConfigurationName)";"..\MultiLevelRayTracing\RTWorld\$(ConfigurationName)";"QtInterface\$(ConfigurationName)";"..\..\..\..\..\..\NonGTP\Xerces\xerces-c_2_8_0-x86-windows-vc_8_0\lib";"$(CG_LIB_PATH)"" 159 159 GenerateDebugInformation="true" 160 160 SubSystem="1" -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r2659 r2660 806 806 ViewCellsParser parser; 807 807 ViewCellsManager *vm = NULL; 808 cout<<"780088"<<endl; 808 809 809 const long startTime = GetTime(); 810 810 const bool success = parser.ParseViewCellsFile(filename, … … 2435 2435 if (addSamplesToPvs) 2436 2436 { 2437 //if (obj->Type() == Intersectable::TRANSFORMED_MESH_INSTANCE)cout << "here12 " << endl;2438 2439 2437 hasAbsContribution = viewCell->GetPvs().AddSampleDirtyCheck(obj, ray.mPdf); 2440 2438 //hasAbsContribution = viewCell->GetPvs().AddSample(obj,ray.mPdf); -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp
r2659 r2660 457 457 void ViewCellsParseHandlers::startElement(const XMLCh* const name, 458 458 AttributeList& attributes) 459 { cout<<"here9978"<<endl;459 { 460 460 StrX lname(name); 461 461 string element(lname.LocalForm()); … … 598 598 599 599 void ViewCellsParseHandlers::StartViewSpaceHierarchy(AttributeList& attributes) 600 { cout<<"78"<<endl;600 { 601 601 int len = attributes.getLength(); 602 602 … … 643 643 644 644 void ViewCellsParseHandlers::StartObjectSpaceHierarchy(AttributeList& attributes) 645 { cout<<"here45"<<endl;645 { 646 646 const int len = attributes.getLength(); 647 647 Vector3 bmin, bmax; … … 1442 1442 parser->setDocumentHandler(&handler); 1443 1443 parser->setErrorHandler(&handler); 1444 cout<<"1178"<<endl; 1444 1445 1445 unsigned long duration; 1446 1446 int errorCount = 0; -
GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
r2659 r2660 220 220 exit(1); 221 221 } 222 222 223 223 // export objects as obj 224 224 if (preprocessor->mExportObj) … … 244 244 } 245 245 } 246 246 247 247 // parse view cells related options 248 248 if (!preprocessor->PrepareViewCells()) … … 276 276 } 277 277 278 278 279 bool useHwGlobalLines; 279 280 Environment::GetSingleton()->GetBoolValue("Preprocessor.useHwGlobalLines", … … 298 299 bool evalPixelError; 299 300 Environment::GetSingleton()->GetBoolValue("Preprocessor.evaluatePixelError", evalPixelError); 300 return 0; 301 302 301 303 #ifdef USE_QT 302 304 … … 305 307 pt = new QtPreprocessorThread(preprocessor); 306 308 307 // if (preprocessor->mUseGlRenderer && (importRandomViewCells || frames))308 309 309 if (evalPixelError && (importRandomViewCells || frames)) 310 310 { … … 384 384 if (evaluatePixelError) 385 385 { 386 cout << "evaluating pixel error" << endl;387 preprocessor->ComputeRenderError();386 cout << "evaluating pixel error" << endl; 387 preprocessor->ComputeRenderError(); 388 388 }*/ 389 389
Note: See TracChangeset
for help on using the changeset viewer.