mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-06 00:06:00 -04:00
--User changes
-Add animation sequence creation to Fractorium. -Add two new options to EmberGenome which are used when generating an animation sequence.: --startcount: Add this number to the filename of each flame. --padding: Override the automatically calculated amount of padding zeroes added to each filename. --Bug fixes -Prevent filenames in command line programs from using scientific notation when rendering a large number of frames. -Fix tab orders to match newer GUI items which were overlooked in previous releases. -Re-render previews if transparency value in the options dialog was changed. Re-rendering was previously only done if early clip or y axis up was changed. -Use transparency when rendering thumbnail previews. --Code changes -Wrap EmberCommon.h in a namespace called EmberCommon. -Move FormatName() from EmberGenome to EmberCommon.h/cpp -Add a prefix parameter to EmberFile::DefaultFilename() to allow for creating a default filename for sequences. -When showing the final render dialog, allow specifying where it came from: the toolbar or the render sequence button. -Refactor all preview rendering code out into its own class hierarchy with overrides for the main window and the final render dialog. -Remove all preview render cancelling functions, they are now built into the new class hierarchy and a new render will not start until the previous one is stopped. -Add two new function ConstrainLow() and ConstrainHigh() which wrap constraining two min/max spinboxes to each others' values. -Add a bool to FractoriumEmberControllerBase::CopyEmberFile() to specify whether to copy the main file or the sequence file. This is somewhat of a hack and was done in a rush. -Add a bool to FractoriumEmberControllerBase::SetEmberFile() to specify whether to move the file rather than copy. This is used in FinalRenderEmberController and improves efficiency. -Add wrapper functions for variations filter dialog settings.
This commit is contained in:
@ -75,17 +75,24 @@ class Fractorium : public QMainWindow
|
||||
friend FractoriumEmberController<float>;
|
||||
friend FinalRenderEmberControllerBase;
|
||||
friend FinalRenderEmberController<float>;
|
||||
friend PreviewRenderer<float>;
|
||||
friend TreePreviewRenderer<float>;
|
||||
|
||||
#ifdef DO_DOUBLE
|
||||
friend GLEmberController<double>;
|
||||
friend FractoriumEmberController<double>;
|
||||
friend FinalRenderEmberController<double>;
|
||||
friend PreviewRenderer<double>;
|
||||
friend TreePreviewRenderer<double>;
|
||||
#endif
|
||||
|
||||
public:
|
||||
Fractorium(QWidget* p = nullptr);
|
||||
~Fractorium();
|
||||
|
||||
//Library.
|
||||
void SyncFileCountToSequenceCount();
|
||||
|
||||
//Geometry.
|
||||
bool ApplyAll();
|
||||
void SetCenter(float x, float y);
|
||||
@ -156,6 +163,25 @@ public slots:
|
||||
void OnEmberTreeItemChanged(QTreeWidgetItem* item, int col);
|
||||
void OnEmberTreeItemDoubleClicked(QTreeWidgetItem* item, int col);
|
||||
void OnDelete(const pair<size_t, QTreeWidgetItem*>& p);
|
||||
void OnSequenceTreeItemChanged(QTreeWidgetItem* item, int col);
|
||||
void OnSequenceStartPreviewsButtonClicked(bool checked);
|
||||
void OnSequenceStopPreviewsButtonClicked(bool checked);
|
||||
void OnSequenceAllButtonClicked(bool checked);
|
||||
void OnSequenceGenerateButtonClicked(bool checked);
|
||||
void OnSequenceRenderButtonClicked(bool checked);
|
||||
void OnSequenceSaveButtonClicked(bool checked);
|
||||
void OnSequenceOpenButtonClicked(bool checked);
|
||||
void OnSequenceRandomizeFramesPerRotCheckBoxStateChanged(int state);
|
||||
void OnSequenceRandomizeRotationsCheckBoxStateChanged(int state);
|
||||
void OnSequenceRandomizeBlendFramesCheckBoxStateChanged(int state);
|
||||
void OnSequenceStartFlameSpinBoxChanged(int d);
|
||||
void OnSequenceStopFlameSpinBoxChanged(int d);
|
||||
void OnSequenceFramesPerRotSpinBoxChanged(int d);
|
||||
void OnSequenceRandomFramesPerRotMaxSpinBoxChanged(int d);
|
||||
void OnSequenceRotationsSpinBoxChanged(double d);
|
||||
void OnSequenceRandomRotationsMaxSpinBoxChanged(double d);
|
||||
void OnSequenceBlendFramesSpinBoxChanged(int d);
|
||||
void OnSequenceRandomBlendMaxFramesSpinBoxChanged(int d);
|
||||
|
||||
//Params.
|
||||
void OnBrightnessChanged(double d);//Color.
|
||||
@ -342,6 +368,7 @@ private:
|
||||
|
||||
//Library.
|
||||
pair<size_t, QTreeWidgetItem*> GetCurrentEmberIndex();
|
||||
void SyncSequenceSettings();
|
||||
|
||||
//Params.
|
||||
|
||||
|
Reference in New Issue
Block a user