mirror of
				https://bitbucket.org/mfeemster/fractorium.git
				synced 2025-10-31 01:10:24 -04:00 
			
		
		
		
	--User changes
-Allow for an opacity greater than 1, which can have the effect of highlighting a specific xform.
This commit is contained in:
		| @ -340,7 +340,7 @@ bool EmberAnimate(int argc, _TCHAR* argv[], EmberOptions& opt) | |||||||
| 		bool doOnlyExr16 = doExr16 && !doExr32; | 		bool doOnlyExr16 = doExr16 && !doExr32; | ||||||
| 		vector<byte> rgb8Image; | 		vector<byte> rgb8Image; | ||||||
| 		vector<std::thread> writeFileThreads; | 		vector<std::thread> writeFileThreads; | ||||||
| 		writeFileThreads.reserve(5); | 		writeFileThreads.reserve(6); | ||||||
|  |  | ||||||
| 		if (doBmp || doJpg) | 		if (doBmp || doJpg) | ||||||
| 		{ | 		{ | ||||||
|  | |||||||
| @ -303,7 +303,7 @@ bool EmberRender(int argc, _TCHAR* argv[], EmberOptions& opt) | |||||||
| 			bool doOnlyExr16 = doExr16 && !doExr32; | 			bool doOnlyExr16 = doExr16 && !doExr32; | ||||||
| 			vector<byte> rgb8Image; | 			vector<byte> rgb8Image; | ||||||
| 			vector<std::thread> writeFileThreads; | 			vector<std::thread> writeFileThreads; | ||||||
| 			writeFileThreads.reserve(5); | 			writeFileThreads.reserve(6); | ||||||
|  |  | ||||||
| 			if (doBmp || doJpg) | 			if (doBmp || doJpg) | ||||||
| 			{ | 			{ | ||||||
|  | |||||||
| @ -20,10 +20,10 @@ void Fractorium::InitXformsColorUI() | |||||||
| 	connect(ui.ToggleColorIndicesButton, SIGNAL(clicked(bool)),  this, SLOT(OnToggleColorIndicesButtonClicked(bool)), Qt::QueuedConnection); | 	connect(ui.ToggleColorIndicesButton, SIGNAL(clicked(bool)),  this, SLOT(OnToggleColorIndicesButtonClicked(bool)), Qt::QueuedConnection); | ||||||
| 	connect(ui.RandomColorSpeedButton,   SIGNAL(clicked(bool)),  this, SLOT(OnRandomColorSpeedButtonClicked(bool)),   Qt::QueuedConnection); | 	connect(ui.RandomColorSpeedButton,   SIGNAL(clicked(bool)),  this, SLOT(OnRandomColorSpeedButtonClicked(bool)),   Qt::QueuedConnection); | ||||||
| 	connect(ui.ToggleColorSpeedsButton,   SIGNAL(clicked(bool)), this, SLOT(OnToggleColorSpeedsButtonClicked(bool)),  Qt::QueuedConnection); | 	connect(ui.ToggleColorSpeedsButton,   SIGNAL(clicked(bool)), this, SLOT(OnToggleColorSpeedsButtonClicked(bool)),  Qt::QueuedConnection); | ||||||
| 	SetupSpinner<DoubleSpinBox, double>(ui.XformColorIndexTable,  this, row, 1, m_XformColorIndexSpin,  spinHeight,  0, 1, 0.01, SIGNAL(valueChanged(double)), SLOT(OnXformColorIndexChanged(double)),  false,   0,   1, 0); | 	SetupSpinner<DoubleSpinBox, double>(ui.XformColorIndexTable,  this, row, 1, m_XformColorIndexSpin,  spinHeight,  0, 1,   0.01, SIGNAL(valueChanged(double)), SLOT(OnXformColorIndexChanged(double)),  false,   0,   1, 0); | ||||||
| 	SetupSpinner<DoubleSpinBox, double>(ui.XformColorValuesTable, this, row, 1, m_XformColorSpeedSpin,  spinHeight, -1, 1,  0.1, SIGNAL(valueChanged(double)), SLOT(OnXformColorSpeedChanged(double)),   true, 0.5, 0.5, 0); | 	SetupSpinner<DoubleSpinBox, double>(ui.XformColorValuesTable, this, row, 1, m_XformColorSpeedSpin,  spinHeight, -1, 1,   0.1,  SIGNAL(valueChanged(double)), SLOT(OnXformColorSpeedChanged(double)),   true, 0.5, 0.5, 0); | ||||||
| 	SetupSpinner<DoubleSpinBox, double>(ui.XformColorValuesTable, this, row, 1, m_XformOpacitySpin,	    spinHeight,  0, 1,  0.1, SIGNAL(valueChanged(double)), SLOT(OnXformOpacityChanged(double)),	     true,   1,   1, 0); | 	SetupSpinner<DoubleSpinBox, double>(ui.XformColorValuesTable, this, row, 1, m_XformOpacitySpin,	    spinHeight,  0, 100, 0.1,  SIGNAL(valueChanged(double)), SLOT(OnXformOpacityChanged(double)),	     true,   1,   1, 0); | ||||||
| 	SetupSpinner<DoubleSpinBox, double>(ui.XformColorValuesTable, this, row, 1, m_XformDirectColorSpin, spinHeight,  0, 1,  0.1, SIGNAL(valueChanged(double)), SLOT(OnXformDirectColorChanged(double)),	 true,	 1,   1, 0); | 	SetupSpinner<DoubleSpinBox, double>(ui.XformColorValuesTable, this, row, 1, m_XformDirectColorSpin, spinHeight,  0, 1,   0.1,  SIGNAL(valueChanged(double)), SLOT(OnXformDirectColorChanged(double)),	 true,	 1,   1, 0); | ||||||
| 	m_XformColorIndexSpin->setDecimals(3); | 	m_XformColorIndexSpin->setDecimals(3); | ||||||
| 	m_XformColorSpeedSpin->setDecimals(3); | 	m_XformColorSpeedSpin->setDecimals(3); | ||||||
| 	m_XformOpacitySpin->setDecimals(3); | 	m_XformOpacitySpin->setDecimals(3); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Person
					Person