- added piles of commandline options to G3D viewer to allow for automated, very customized screenshots

This commit is contained in:
Mark Vejvoda
2011-01-28 05:49:52 +00:00
parent 9adf8bcc62
commit 4d564923d9
3 changed files with 339 additions and 88 deletions

View File

@@ -81,6 +81,7 @@ private:
float speed;
float anim;
int particleLoopStart;
float rotX, rotY, zoom;
float backBrightness, gridBrightness, lightBrightness;
int lastX, lastY;
@@ -104,7 +105,10 @@ private:
void saveScreenshot();
public:
MainWindow(const string &modelPath);
MainWindow( const string modelPath,const string particlePath,
const string projectileParticlePath,const string splashParticlePath,
float defaultAnimation,int defaultParticleLoopStart,
float defaultZoom,float defaultXRot, float defaultYRot);
~MainWindow();
void init();