mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:12:53 +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() {
|
(function() {
|
||||||
var TABLET_BUTTON_NAME = "TAA";
|
var TABLET_BUTTON_NAME = "TAA";
|
||||||
var QMLAPP_URL = Script.resolvePath("./Antialiasing.qml");
|
var QMLAPP_URL = Script.resolvePath("./antialiasing.qml");
|
||||||
|
|
||||||
|
|
||||||
var onLuciScreen = false;
|
var onLuciScreen = false;
|
||||||
|
|
|
@ -12,9 +12,8 @@ import QtQuick 2.7
|
||||||
import QtQuick.Controls 1.4
|
import QtQuick.Controls 1.4
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
|
|
||||||
import "../lib/styles-uit"
|
import "qrc:///qml/styles-uit"
|
||||||
import "../lib/controls-uit" as HifiControls
|
import "qrc:///qml/controls-uit" as HifiControls
|
||||||
|
|
||||||
|
|
||||||
import "configSlider"
|
import "configSlider"
|
||||||
import "../lib/plotperf"
|
import "../lib/plotperf"
|
||||||
|
@ -129,7 +128,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
HifiControls.ConfigSlider {
|
ConfigSlider {
|
||||||
label: qsTr("Covariance gamma")
|
label: qsTr("Covariance gamma")
|
||||||
integral: false
|
integral: false
|
||||||
config: Render.getConfig("RenderMainView.Antialiasing")
|
config: Render.getConfig("RenderMainView.Antialiasing")
|
||||||
|
@ -145,7 +144,7 @@ Rectangle {
|
||||||
onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["feedbackColor"] = checked }
|
onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["feedbackColor"] = checked }
|
||||||
}
|
}
|
||||||
|
|
||||||
HifiControls.ConfigSlider {
|
ConfigSlider {
|
||||||
label: qsTr("Source blend")
|
label: qsTr("Source blend")
|
||||||
integral: false
|
integral: false
|
||||||
config: Render.getConfig("RenderMainView.Antialiasing")
|
config: Render.getConfig("RenderMainView.Antialiasing")
|
||||||
|
@ -172,7 +171,7 @@ Rectangle {
|
||||||
onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["showCursorPixel"] = checked }
|
onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["showCursorPixel"] = checked }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
HifiControls.ConfigSlider {
|
ConfigSlider {
|
||||||
label: qsTr("Debug Region <")
|
label: qsTr("Debug Region <")
|
||||||
integral: false
|
integral: false
|
||||||
config: Render.getConfig("RenderMainView.Antialiasing")
|
config: Render.getConfig("RenderMainView.Antialiasing")
|
||||||
|
@ -186,7 +185,7 @@ Rectangle {
|
||||||
checked: Render.getConfig("RenderMainView.Antialiasing")["showClosestFragment"]
|
checked: Render.getConfig("RenderMainView.Antialiasing")["showClosestFragment"]
|
||||||
onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["showClosestFragment"] = checked }
|
onCheckedChanged: { Render.getConfig("RenderMainView.Antialiasing")["showClosestFragment"] = checked }
|
||||||
}
|
}
|
||||||
HifiControls.ConfigSlider {
|
ConfigSlider {
|
||||||
label: qsTr("Debug Velocity Threshold [pix]")
|
label: qsTr("Debug Velocity Threshold [pix]")
|
||||||
integral: false
|
integral: false
|
||||||
config: Render.getConfig("RenderMainView.Antialiasing")
|
config: Render.getConfig("RenderMainView.Antialiasing")
|
||||||
|
@ -194,7 +193,7 @@ Rectangle {
|
||||||
max: 50
|
max: 50
|
||||||
min: 0.0
|
min: 0.0
|
||||||
}
|
}
|
||||||
HifiControls.ConfigSlider {
|
ConfigSlider {
|
||||||
label: qsTr("Debug Orb Zoom")
|
label: qsTr("Debug Orb Zoom")
|
||||||
integral: false
|
integral: false
|
||||||
config: Render.getConfig("RenderMainView.Antialiasing")
|
config: Render.getConfig("RenderMainView.Antialiasing")
|
||||||
|
|
Loading…
Reference in a new issue