mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 02:48:25 -05:00
Cleaned code and removed unused features.
This commit is contained in:
@@ -136,9 +136,6 @@ public:
|
||||
void setGamma(float gamma) override;
|
||||
void setMaxWhite(float maxWhite) override;
|
||||
void setToneMapOperator(int tmOp) override;
|
||||
void setKey(float key) override;
|
||||
void setYwhite(float white) override;
|
||||
void setTmoSaturation(float sat) override;
|
||||
void setHue(float hue) override;
|
||||
void setValue(float value) override;
|
||||
void setSaturation(float sat) override;
|
||||
@@ -184,7 +181,7 @@ private:
|
||||
UniformCache(mainColorTexture, blackoutFactor, nAaSamples) _uniformCache;
|
||||
|
||||
UniformCache(hdrFeedingTexture, blackoutFactor, hdrExposure, gamma,
|
||||
toneMapOperator, aveLum, maxWhite, Hue, Saturation, Value,
|
||||
toneMapOperator, maxWhite, Hue, Saturation, Value,
|
||||
Lightness, colorSpace, nAaSamples) _hdrUniformCache;
|
||||
|
||||
GLint _defaultFBO;
|
||||
@@ -212,9 +209,6 @@ private:
|
||||
float _maxWhite = 5.0f;
|
||||
int _toneMapOperator = 8;
|
||||
bool _histogramEnabled = false;
|
||||
float _tmoKey = 0.18f;
|
||||
float _tmoYwhite = 1e6f;
|
||||
float _tmoSaturation = 1.0f;
|
||||
float _hue = 1.f;
|
||||
float _saturation = 1.2f;
|
||||
float _value = 1.f;
|
||||
|
||||
@@ -222,9 +222,6 @@ private:
|
||||
properties::FloatProperty _hdrExposure;
|
||||
properties::FloatProperty _maxWhite;
|
||||
properties::OptionProperty _toneMapOperator;
|
||||
properties::FloatProperty _tmoKey;
|
||||
properties::FloatProperty _tmoYwhite;
|
||||
properties::FloatProperty _tmoSaturation;
|
||||
|
||||
properties::PropertyOwner _imageOwner;
|
||||
properties::FloatProperty _gamma;
|
||||
|
||||
@@ -54,9 +54,6 @@ public:
|
||||
virtual void setGamma(float gamma) = 0;
|
||||
virtual void setMaxWhite(float maxWhite) = 0;
|
||||
virtual void setToneMapOperator(int tmOp) = 0;
|
||||
virtual void setKey(float key) = 0;
|
||||
virtual void setYwhite(float white) = 0;
|
||||
virtual void setTmoSaturation(float sat) = 0;
|
||||
virtual void setHue(float hue) = 0;
|
||||
virtual void setValue(float value) = 0;
|
||||
virtual void setSaturation(float sat) = 0;
|
||||
|
||||
Reference in New Issue
Block a user