mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-06 00:06:00 -04:00
Remove ReadMe.txt from all project files.
Add Curves.h, and CurvesGraphicsView.h/cpp to support bezier color curves. Add Curves member to Ember. Add curves capability to EmberCL. Remove some unused variables in the kernel created in RendererCL::CreateFinalAccumKernelString(). Use glm namespace for vec classes if GLM_VERSION >= 96, else use glm::detail. As a result of using glm namespace, all instances of min and max had to be qualified with std:: Split ComputeCamera into that and ComputeQuality(). Reduce the amount of ComputeCamera() and MakeDmap() calls on each incremental iter that doesn't use temporal samples. Fix clamping bug with DE filter widths. Provide functions to return the kernels from RendererCL to assist with diagnostics and debugging. Prevent extra newline in EmberRender when only rendering a single image. Add the ability to delete an ember at a given index in EmberFile. Allow deleting/focusing ember in library tab with delete and enter keys. Reorder some code in Fractorium.h to match the tabs order. Add and call ClearFinalImages() to clear buffers in controller to fix bug where previous CPU render would be shown for a split second when switching from OpenCL back to CPU. Refactor ember library pointer syncing to a function SyncPointers(). Add the ability to save ember Xmls to an unique automatically generated name after the first time the user has specified a name.
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
#include "FinalRenderDialog.h"
|
||||
#include "OptionsDialog.h"
|
||||
#include "AboutDialog.h"
|
||||
#include "CurvesGraphicsView.h"
|
||||
|
||||
/// <summary>
|
||||
/// Fractorium class.
|
||||
@ -140,6 +141,11 @@ public slots:
|
||||
void OnSaveEntireFileAsXmlButtonClicked(bool checked);
|
||||
void OnSaveCurrentToOpenedFileButtonClicked(bool checked);
|
||||
|
||||
//Library.
|
||||
void OnEmberTreeItemChanged(QTreeWidgetItem* item, int col);
|
||||
void OnEmberTreeItemDoubleClicked(QTreeWidgetItem* item, int col);
|
||||
void OnDelete(const pair<size_t, QTreeWidgetItem*>& p);
|
||||
|
||||
//Params.
|
||||
void OnBrightnessChanged(double d);//Color.
|
||||
void OnGammaChanged(double d);
|
||||
@ -222,7 +228,13 @@ public slots:
|
||||
void OnXformDirectColorChanged(double d);
|
||||
void OnSoloXformCheckBoxStateChanged(int state);
|
||||
void OnXformRefPaletteResized(int logicalIndex, int oldSize, int newSize);
|
||||
|
||||
void OnResetCurvesButtonClicked(bool checked);
|
||||
void OnCurvesPointChanged(int curveIndex, int pointIndex, const QPointF& point);
|
||||
void OnCurvesAllRadioButtonToggled(bool checked);
|
||||
void OnCurvesRedRadioButtonToggled(bool checked);
|
||||
void OnCurvesGreenRadioButtonToggled(bool checked);
|
||||
void OnCurvesBlueRadioButtonToggled(bool checked);
|
||||
|
||||
//Xforms Variations.
|
||||
void OnVariationSpinBoxValueChanged(double d);
|
||||
void OnTreeHeaderSectionClicked(int);
|
||||
@ -242,10 +254,6 @@ public slots:
|
||||
void OnPaletteRandomSelectButtonClicked(bool checked);
|
||||
void OnPaletteRandomAdjustButtonClicked(bool checked);
|
||||
|
||||
//Library.
|
||||
void OnEmberTreeItemChanged(QTreeWidgetItem* item, int col);
|
||||
void OnEmberTreeItemDoubleClicked(QTreeWidgetItem* item, int col);
|
||||
|
||||
//Rendering/progress.
|
||||
void StartRenderTimer();
|
||||
void IdleTimer();
|
||||
@ -287,6 +295,9 @@ private:
|
||||
//Embers.
|
||||
bool HaveFinal();
|
||||
|
||||
//Library.
|
||||
pair<size_t, QTreeWidgetItem*> GetCurrentEmberIndex();
|
||||
|
||||
//Params.
|
||||
|
||||
//Xforms.
|
||||
@ -304,8 +315,6 @@ private:
|
||||
//Palette.
|
||||
void ResetPaletteControls();
|
||||
|
||||
//Library.
|
||||
|
||||
//Info.
|
||||
void UpdateHistogramBounds();
|
||||
void ErrorReportToQTextEdit(const vector<string>& errors, QTextEdit* textEdit, bool clear = true);
|
||||
|
Reference in New Issue
Block a user