mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 04:49:12 -06:00
A few exponential slider updates
* Add exponent to RenderableTrail period and resolution * Lower exponent of stereoscopic depth slider, to give better control
This commit is contained in:
@@ -158,10 +158,12 @@ RenderableTrailOrbit::RenderableTrailOrbit(const ghoul::Dictionary& dictionary)
|
||||
using namespace std::chrono;
|
||||
_period = p.period * duration_cast<seconds>(hours(24)).count();
|
||||
_period.onChange([&] { _needsFullSweep = true; _indexBufferDirty = true; });
|
||||
_period.setExponent(5.f);
|
||||
addProperty(_period);
|
||||
|
||||
_resolution = p.resolution;
|
||||
_resolution.onChange([&] { _needsFullSweep = true; _indexBufferDirty = true; });
|
||||
_resolution.setExponent(3.5f);
|
||||
addProperty(_resolution);
|
||||
|
||||
// We store the vertices with (excluding the wrapping) decending temporal order
|
||||
|
||||
@@ -391,7 +391,7 @@ OrbitalNavigator::OrbitalNavigator()
|
||||
|
||||
addProperty(_useAdaptiveStereoscopicDepth);
|
||||
addProperty(_staticViewScaleExponent);
|
||||
_stereoscopicDepthOfFocusSurface.setExponent(10.f);
|
||||
_stereoscopicDepthOfFocusSurface.setExponent(3.f);
|
||||
addProperty(_stereoscopicDepthOfFocusSurface);
|
||||
|
||||
addProperty(_retargetInterpolationTime);
|
||||
|
||||
Reference in New Issue
Block a user