From 05f039a251b45ea9668553fd4937c31cc86a2c68 Mon Sep 17 00:00:00 2001 From: samcake Date: Thu, 7 Sep 2017 17:50:55 -0700 Subject: [PATCH] Almost there --- .../lib/styles-uit/HifiConstants.qmlc | Bin 51304 -> 51304 bytes .../utilities/render/antialiasing.qml | 46 ++++++++---------- 2 files changed, 19 insertions(+), 27 deletions(-) diff --git a/scripts/developer/utilities/lib/styles-uit/HifiConstants.qmlc b/scripts/developer/utilities/lib/styles-uit/HifiConstants.qmlc index 369d4444878f60a092189d56d24fd586c7a0c747..a11d8cf029dcb2a16ad80b66aa3ac76475f0233e 100644 GIT binary patch delta 104 zcmaDcf%(M*W}U(^ljM}dl0-oU1_nk>R))Potmk4G85nG;85nAuW^T0qCvEb_ZFTsZ z_rd2k>inow4Q60qNMp!k$YDrjuwu{$!(=eaogtHR)%vaax!s@3=B5a3=DU@Bo!xd$^}mDUF9x# zN&L=6ogbB&p$rTRX$+YRISi=`Rt)-Jm<(olFl2&df*4X63K;Sydsek?zEU;C7XT#3 B9RmOW diff --git a/scripts/developer/utilities/render/antialiasing.qml b/scripts/developer/utilities/render/antialiasing.qml index 1a81db9904..c194b0ace4 100644 --- a/scripts/developer/utilities/render/antialiasing.qml +++ b/scripts/developer/utilities/render/antialiasing.qml @@ -8,7 +8,7 @@ // See the accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0.html // -import QtQuick 2.5 +import QtQuick 2.7 import QtQuick.Controls 1.4 import QtQuick.Layouts 1.3 @@ -28,6 +28,7 @@ Rectangle { Column { id: antialiasing spacing: 20 + padding: 10 Column{ spacing: 10 @@ -125,16 +126,17 @@ Rectangle { checked: Render.getConfig("RenderMainView.Antialiasing")["clipExactColor"] onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["clipExactColor"] = checked } } - HifiControls.ConfigSlider { - label: qsTr("Covariance gamma") - integral: false - config: Render.getConfig("RenderMainView.Antialiasing") - property: "covarianceGamma" - max: 1.5 - min: 0.5 - } } - } + } + HifiControls.ConfigSlider { + label: qsTr("Covariance gamma") + integral: false + config: Render.getConfig("RenderMainView.Antialiasing") + property: "covarianceGamma" + max: 1.5 + min: 0.5 + } + Separator {} HifiControls.CheckBox { boxSize: 20 text: "Feedback history color" @@ -152,6 +154,7 @@ Rectangle { } } + Separator {} Row { spacing: 10 @@ -176,23 +179,12 @@ Rectangle { max: 1.0 min: 0.0 } - HifiControls.ConfigSlider { - label: qsTr("FXAA Region >") - integral: false - config: Render.getConfig("RenderMainView.Antialiasing") - property: "debugFXAAX" - max: 1.0 - min: 0.0 - } - Row { - - HifiControls.CheckBox { - boxSize: 20 - text: "Closest Fragment" - checked: Render.getConfig("RenderMainView.Antialiasing")["showClosestFragment"] - onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["showClosestFragment"] = checked } - } - } + HifiControls.CheckBox { + boxSize: 20 + text: "Closest Fragment" + checked: Render.getConfig("RenderMainView.Antialiasing")["showClosestFragment"] + onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["showClosestFragment"] = checked } + } HifiControls.ConfigSlider { label: qsTr("Debug Velocity Threshold [pix]") integral: false