qtdoc/examples/demos/car-configurator/content/DebugBox.ui.qml

44 lines
975 B
QML
Raw Normal View History

// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
import QtQuick3D
Port the latest updates from design studio demo project <CarRendering> The update contains the following changes: * better glow for lights * videoWall reflections fixed * Updates to the UI, buttons and logo position * Fixes on Glitches * FaceLift * New Wheels and BackLights * VideoWall rePositioning * New Car PaintWork + videoWall * BackLight Reflection removal * Desert polishes * Studio Improvements * Smooth Car paint change transitions * ColorButton Start fix * Door openings * Added Trunk and Hood openers * Visibilty of door openers based on camera Angle * Door openers Smooth transitions * Removed Lights from Studio * Reflection Probe ReDone in VideoScene * Door button is smaller and has background blur * Interior colors and Lights * Interior material tweaks * More realistic headlights * New Car paint material * Tiny update to margins for UI * Better carPaint and Window materials * Headlight glass material * New Wheel textures * Front headlight geometry * Added easing to door animations * Door button fix * New Demomode Blending * Headlight decal and material update * Desert Visual updates * Desert scene Custom shadows * Fix new shadows * More Transparent fake shadows * Added a new svg icon for the door and updated the button for it * Tiny update to pebbles and enabled shadow plane inside car * Blended Shadow plane * Added Correct button font * New Default Camera position * Hood shadow animation fixed * Working car shadows Task-number: QTBUG-126959 Pick-to: 6.8 Change-Id: I596f6befeb881c73354306f51feca4faa7c88c6e Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-07-02 15:22:52 +00:00
import Quick3DAssets.EV_SportsCar_low
Rectangle {
id: root
property int fps: sView.renderStats.fps
property int frameTime: sView.renderStats.frameTime
property int syncTime: sView.renderStats.syncTime
property int renderTime: sView.renderStats.renderTime
required property View3D sView
width: col.width
height: col.height
radius: 8
color: "#99000000"
Column {
id: col
padding: 15
Text {
color: "#ffffff"
text: root.fps + " FPS (" + root.frameTime + " ms)"
font.pixelSize: 24
}
Text {
color: "#ffffff"
Port the latest updates from design studio demo project <CarRendering> The update contains the following changes: * better glow for lights * videoWall reflections fixed * Updates to the UI, buttons and logo position * Fixes on Glitches * FaceLift * New Wheels and BackLights * VideoWall rePositioning * New Car PaintWork + videoWall * BackLight Reflection removal * Desert polishes * Studio Improvements * Smooth Car paint change transitions * ColorButton Start fix * Door openings * Added Trunk and Hood openers * Visibilty of door openers based on camera Angle * Door openers Smooth transitions * Removed Lights from Studio * Reflection Probe ReDone in VideoScene * Door button is smaller and has background blur * Interior colors and Lights * Interior material tweaks * More realistic headlights * New Car paint material * Tiny update to margins for UI * Better carPaint and Window materials * Headlight glass material * New Wheel textures * Front headlight geometry * Added easing to door animations * Door button fix * New Demomode Blending * Headlight decal and material update * Desert Visual updates * Desert scene Custom shadows * Fix new shadows * More Transparent fake shadows * Added a new svg icon for the door and updated the button for it * Tiny update to pebbles and enabled shadow plane inside car * Blended Shadow plane * Added Correct button font * New Default Camera position * Hood shadow animation fixed * Working car shadows Task-number: QTBUG-126959 Pick-to: 6.8 Change-Id: I596f6befeb881c73354306f51feca4faa7c88c6e Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-07-02 15:22:52 +00:00
text: "Sync: " + root.syncTime + " ms" + "\nRender: " + root.renderTime + " ms"
font.pixelSize: 18
}
}
Item {
id: __materialLibrary__
}
}