qtdoc/examples/demos/car-configurator/content/CameraReset.qml

21 lines
405 B
QML
Raw Permalink Normal View History

// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
Item {
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
width: 1920
height: 1080
property vector3d position: Qt.vector3d(0, 0, 0)
property vector3d rotation: Qt.vector3d(0, 0, 0)
function resetPosition(pos) {
pos = position
}
function resetRotation(rot) {
rot = rotation
}
}