mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-12 03:04:51 -04:00
0.4.1.3 Beta 10/14/2014
--User Changes Size is no longer fixed to the window size. Size scaling is done differently in the final render dialog. This fixes several bugs. Remove Xml saving size from settings and options dialog, it no longer applies. Final render can be broken into strips. Set default save path to the desktop if none is found in the settings file. Set default output size to 1920x1080 if none is found in the settings file. --Bug Fixes Better memory size reporting in final render dialog. --Code Changes Migrate to C++11, Qt 5.3.1, and Visual Studio 2013. Change most instances of unsigned int to size_t, and int to intmax_t. Add m_OrigPixPerUnit and m_ScaleType to Ember for scaling purposes. Replace some sprintf_s() calls in XmlToEmber with ostringstream. Move more non-templated members into RendererBase. Add CopyVec() overload that takes a per element function pointer. Add vector Memset(). Replace '&' with '+' instead of "&" in XmlToEmber for much faster parsing. Break strips rendering out into EmberCommon and call from EmberRender and Fractorium. Make AddAndWriteBuffer() just call WriteBuffer(). Make AddAndWriteImage() delete the existing image first before replacing it. Add SetOutputTexture() to RendererCL to support making new textures in response to resize events. Remove multiple return statements in RendererCL, and replace with a bool that tracks results. Add ToDouble(), MakeEnd(), ToString() and Exists() wrappers in Fractorium. Add Size() wrapper in EmberFile. Make QString function arguments const QString&, and string with const string&. Make ShowCritical() wrapper for invoking a message box from another thread. Add combo box to TwoButtonWidget and rename.
This commit is contained in:
@ -30,15 +30,14 @@
|
||||
#define FINALDOSEQUENCE "finalrender/dosequence"
|
||||
#define FINALKEEPASPECT "finalrender/keepaspect"
|
||||
#define FINALSCALE "finalrender/scale"
|
||||
#define FINALDOALLEXT "finalrender/doallext"
|
||||
#define FINALEXT "finalrender/ext"
|
||||
#define FINALPLATFORMINDEX "finalrender/platformindex"
|
||||
#define FINALDEVICEINDEX "finalrender/deviceindex"
|
||||
#define FINALTHREADCOUNT "finalrender/threadcount"
|
||||
#define FINALWIDTH "finalrender/width"
|
||||
#define FINALHEIGHT "finalrender/height"
|
||||
#define FINALQUALITY "finalrender/quality"
|
||||
#define FINALTEMPORALSAMPLES "finalrender/temporalsamples"
|
||||
#define FINALSUPERSAMPLE "finalrender/supersample"
|
||||
#define FINALSTRIPS "finalrender/strips"
|
||||
|
||||
#define XMLWIDTH "xml/width"
|
||||
#define XMLHEIGHT "xml/height"
|
||||
@ -139,8 +138,8 @@ public:
|
||||
unsigned int FinalScale();
|
||||
void FinalScale(unsigned int i);
|
||||
|
||||
QString FinalDoAllExt();
|
||||
void FinalDoAllExt(QString s);
|
||||
QString FinalExt();
|
||||
void FinalExt(const QString& s);
|
||||
|
||||
unsigned int FinalPlatformIndex();
|
||||
void FinalPlatformIndex(unsigned int b);
|
||||
@ -151,12 +150,6 @@ public:
|
||||
unsigned int FinalThreadCount();
|
||||
void FinalThreadCount(unsigned int b);
|
||||
|
||||
unsigned int FinalWidth();
|
||||
void FinalWidth(unsigned int i);
|
||||
|
||||
unsigned int FinalHeight();
|
||||
void FinalHeight(unsigned int i);
|
||||
|
||||
unsigned int FinalQuality();
|
||||
void FinalQuality(unsigned int i);
|
||||
|
||||
@ -166,11 +159,8 @@ public:
|
||||
unsigned int FinalSupersample();
|
||||
void FinalSupersample(unsigned int i);
|
||||
|
||||
unsigned int XmlWidth();
|
||||
void XmlWidth(unsigned int i);
|
||||
|
||||
unsigned int XmlHeight();
|
||||
void XmlHeight(unsigned int i);
|
||||
unsigned int FinalStrips();
|
||||
void FinalStrips(unsigned int i);
|
||||
|
||||
unsigned int XmlTemporalSamples();
|
||||
void XmlTemporalSamples(unsigned int i);
|
||||
@ -182,29 +172,29 @@ public:
|
||||
void XmlSupersample(unsigned int i);
|
||||
|
||||
QString OpenFolder();
|
||||
void OpenFolder(QString s);
|
||||
void OpenFolder(const QString& s);
|
||||
|
||||
QString SaveFolder();
|
||||
void SaveFolder(QString s);
|
||||
void SaveFolder(const QString& s);
|
||||
|
||||
QString OpenXmlExt();
|
||||
void OpenXmlExt(QString s);
|
||||
void OpenXmlExt(const QString& s);
|
||||
|
||||
QString SaveXmlExt();
|
||||
void SaveXmlExt(QString s);
|
||||
void SaveXmlExt(const QString& s);
|
||||
|
||||
QString OpenImageExt();
|
||||
void OpenImageExt(QString s);
|
||||
void OpenImageExt(const QString& s);
|
||||
|
||||
QString SaveImageExt();
|
||||
void SaveImageExt(QString s);
|
||||
void SaveImageExt(const QString& s);
|
||||
|
||||
QString Id();
|
||||
void Id(QString s);
|
||||
void Id(const QString& s);
|
||||
|
||||
QString Url();
|
||||
void Url(QString s);
|
||||
void Url(const QString& s);
|
||||
|
||||
QString Nick();
|
||||
void Nick(QString s);
|
||||
void Nick(const QString& s);
|
||||
};
|
||||
|
Reference in New Issue
Block a user