mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 00:03:16 +02:00
Fixed TAA debug script
This commit is contained in:
parent
1ce1aca79f
commit
e0f398dcab
2 changed files with 8 additions and 9 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
(function() {
|
||||
var TABLET_BUTTON_NAME = "TAA";
|
||||
var QMLAPP_URL = Script.resolvePath("./Antialiasing.qml");
|
||||
var QMLAPP_URL = Script.resolvePath("./antialiasing.qml");
|
||||
|
||||
|
||||
var onLuciScreen = false;
|
||||
|
|
|
@ -12,9 +12,8 @@ import QtQuick 2.7
|
|||
import QtQuick.Controls 1.4
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
import "../lib/styles-uit"
|
||||
import "../lib/controls-uit" as HifiControls
|
||||
|
||||
import "qrc:///qml/styles-uit"
|
||||
import "qrc:///qml/controls-uit" as HifiControls
|
||||
|
||||
import "configSlider"
|
||||
import "../lib/plotperf"
|
||||
|
@ -129,7 +128,7 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
}
|
||||
HifiControls.ConfigSlider {
|
||||
ConfigSlider {
|
||||
label: qsTr("Covariance gamma")
|
||||
integral: false
|
||||
config: Render.getConfig("RenderMainView.Antialiasing")
|
||||
|
@ -145,7 +144,7 @@ Rectangle {
|
|||
onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["feedbackColor"] = checked }
|
||||
}
|
||||
|
||||
HifiControls.ConfigSlider {
|
||||
ConfigSlider {
|
||||
label: qsTr("Source blend")
|
||||
integral: false
|
||||
config: Render.getConfig("RenderMainView.Antialiasing")
|
||||
|
@ -172,7 +171,7 @@ Rectangle {
|
|||
onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["showCursorPixel"] = checked }
|
||||
}
|
||||
}
|
||||
HifiControls.ConfigSlider {
|
||||
ConfigSlider {
|
||||
label: qsTr("Debug Region <")
|
||||
integral: false
|
||||
config: Render.getConfig("RenderMainView.Antialiasing")
|
||||
|
@ -186,7 +185,7 @@ Rectangle {
|
|||
checked: Render.getConfig("RenderMainView.Antialiasing")["showClosestFragment"]
|
||||
onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["showClosestFragment"] = checked }
|
||||
}
|
||||
HifiControls.ConfigSlider {
|
||||
ConfigSlider {
|
||||
label: qsTr("Debug Velocity Threshold [pix]")
|
||||
integral: false
|
||||
config: Render.getConfig("RenderMainView.Antialiasing")
|
||||
|
@ -194,7 +193,7 @@ Rectangle {
|
|||
max: 50
|
||||
min: 0.0
|
||||
}
|
||||
HifiControls.ConfigSlider {
|
||||
ConfigSlider {
|
||||
label: qsTr("Debug Orb Zoom")
|
||||
integral: false
|
||||
config: Render.getConfig("RenderMainView.Antialiasing")
|
||||
|
|
Loading…
Reference in a new issue