- Timestamp:
- 07/19/05 13:32:59 (19 years ago)
- Location:
- trunk/VUT/GtpVisibilityPreprocessor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/scripts/Preprocessor.vcproj
r179 r182 58 58 OutputDirectory="..\bin\$(ConfigurationName)" 59 59 IntermediateDirectory="..\obj\$(ConfigurationName)" 60 ConfigurationType=" 4"60 ConfigurationType="1" 61 61 CharacterSet="2"> 62 62 <Tool … … 72 72 Name="VCCustomBuildTool"/> 73 73 <Tool 74 Name="VCLibrarianTool" 75 OutputFile="$(OutDir)/GtpVisibility.lib"/> 74 Name="VCLinkerTool" 75 AdditionalDependencies="xerces-c_2.lib zdll.lib zziplib.lib" 76 AdditionalLibraryDirectories=""$(XERCES_PATH)\lib\$(ConfigurationName)";"$(ZLIB_PATH)\lib\$(ConfigurationName)";"$(QTDIR)\lib""/> 76 77 <Tool 77 78 Name="VCMIDLTool"/> … … 88 89 <Tool 89 90 Name="VCXMLDataGeneratorTool"/> 91 <Tool 92 Name="VCWebDeploymentTool"/> 90 93 <Tool 91 94 Name="VCManagedWrapperGeneratorTool"/> … … 177 180 </File> 178 181 <File 182 RelativePath="..\src\MeshKdTree.cpp"> 183 </File> 184 <File 185 RelativePath="..\src\MeshKdTree.h"> 186 </File> 187 <File 179 188 RelativePath="..\src\Parser.h"> 180 189 </File> … … 189 198 </File> 190 199 <File 200 RelativePath="..\src\Pvs.cpp"> 201 </File> 202 <File 203 RelativePath="..\src\Pvs.h"> 204 </File> 205 <File 191 206 RelativePath="..\src\Ray.cpp"> 192 207 </File> … … 235 250 <File 236 251 RelativePath="..\src\X3dParser.h"> 252 </File> 253 <File 254 RelativePath="..\src\X3dParserXerces.h"> 237 255 </File> 238 256 </Filter> -
trunk/VUT/GtpVisibilityPreprocessor/src/Camera.cpp
r181 r182 22 22 QImage image(mWidth, mHeight, 32); 23 23 #else 24 QImage image(mWidth, mHeight, QImage::Format_RGB32);24 //QImage image(mWidth, mHeight, QImage::Format_RGB32); 25 25 #endif 26 26 … … 41 41 if (mesh->GetMesh()->mMaterial) 42 42 color = mesh->GetMesh()->mMaterial->mDiffuseColor; 43 #if QT_VERSION < 0x040000 43 44 image.setPixel(x, y, qRgb(color.r*255, 44 45 color.g*255, 45 46 color.b*255 46 47 )); 48 #endif 49 47 50 } 48 51 … … 57 60 58 61 cout<<"Saving image"<<endl; 62 #if QT_VERSION < 0x040000 59 63 image.save(filename.c_str(), "PNG"); 60 64 #endif 61 65 Exporter *exporter = NULL; 62 66 if (exportRays) { -
trunk/VUT/GtpVisibilityPreprocessor/src/X3dParser.cpp
r179 r182 24 24 #include "X3dParser.h" 25 25 26 //#include "X3dParserXerces.h"26 #include "X3dParserXerces.h" 27 27 #include "Mesh.h" 28 28 #include "SceneGraph.h"
Note: See TracChangeset
for help on using the changeset viewer.