Changeset 182 for trunk/VUT/GtpVisibilityPreprocessor/src
- Timestamp:
- 07/19/05 13:32:59 (20 years ago)
- Location:
- trunk/VUT/GtpVisibilityPreprocessor/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.