private void floatTrackbarControlIOR_SliderDragStop(UIUtility.FloatTrackbarControl _Sender, float _fStartValue) { if (_Sender.Value < 10.0f) { _Sender.VisibleRangeMax = 10.0f; // Restore visibility range } }
private void floatTrackbarControl1_ValueChanged(UIUtility.FloatTrackbarControl _Sender, float _fFormerValue) { outputPanelDiffuseFresnelReflectance.MaxIOR = floatTrackbarControlIOR.VisibleRangeMax; // So we match the visible range if (!floatTrackbarControlIOR.Enabled) { return; // Changed externally from specular tint modification, don't change panels' values! } outputPanelFresnelGraph.IOR_red = _Sender.Value; outputPanelFresnelGraph.IOR_green = _Sender.Value; outputPanelFresnelGraph.IOR_blue = _Sender.Value; outputPanelDiffuseFresnelReflectance.IOR = _Sender.Value; panelSpecularTintNormal.BackColor = IOR_to_Color(_Sender.Value, _Sender.Value, _Sender.Value); }
private void floatTrackbarControlOffset_ValueChanged(UIUtility.FloatTrackbarControl _Sender, float _fFormerValue) { RebuildNoise(); }
private void floatTrackbarControlWeightExponent_ValueChanged(UIUtility.FloatTrackbarControl _Sender, float _fFormerValue) { BuildRoom(); }
private void floatTrackbarControl1_ValueChanged(UIUtility.FloatTrackbarControl _Sender, float _fFormerValue) { panelOutput.UpdateBitmap(); }
private void floatTrackbarControlNormalized_sRGB_ValueChanged(UIUtility.FloatTrackbarControl _Sender, float _fFormerValue) { m_lastChangeIsInteger = false; }
private void floatTrackbarControlPeakFactor_ValueChanged(UIUtility.FloatTrackbarControl _Sender, float _fFormerValue) { outputPanelDiffuseFresnelReflectance.PeakFactor = floatTrackbarControlPeakFactor.Value; }
private void floatTrackbarControlRoughness_ValueChanged(UIUtility.FloatTrackbarControl _Sender, float _fFormerValue) { outputPanelDiffuseFresnelReflectance.Roughness = floatTrackbarControlRoughness.Value; }
private void floatTrackbarControlVerticalScale_ValueChanged(UIUtility.FloatTrackbarControl _Sender, float _fFormerValue) { outputPanelDiffuseFresnelReflectance.VerticalScale = floatTrackbarControlVerticalScale.Value; }