From 8904cc5795b31d82b0bb4e4032db95536dbe1817 Mon Sep 17 00:00:00 2001 From: Janne Kangas Date: Mon, 14 May 2018 15:01:51 +0300 Subject: Update simple Runtime 2.0 qmldatainput example Add textstring control, add shadows and floor rectangle for better visualization. Task-number: QT3DS-1491 Change-Id: I0dc40acc7e465cf530b9776e462bc4dde395fe90 Reviewed-by: Laszlo Agocs --- .../qmldatainput/presentation/Paper05.png | Bin 0 -> 321820 bytes .../qmldatainput/presentation/datainput.uip | 22 ++++++++++++++------- .../qmldatainput/qml/qmldatainput/main.qml | 4 ++-- .../3dstudioruntime2/qmldatainput/qmldatainput.qrc | 1 + 4 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 examples/3dstudioruntime2/qmldatainput/presentation/Paper05.png (limited to 'examples') diff --git a/examples/3dstudioruntime2/qmldatainput/presentation/Paper05.png b/examples/3dstudioruntime2/qmldatainput/presentation/Paper05.png new file mode 100644 index 0000000..e70749d Binary files /dev/null and b/examples/3dstudioruntime2/qmldatainput/presentation/Paper05.png differ diff --git a/examples/3dstudioruntime2/qmldatainput/presentation/datainput.uip b/examples/3dstudioruntime2/qmldatainput/presentation/datainput.uip index 6b47e44..901e994 100644 --- a/examples/3dstudioruntime2/qmldatainput/presentation/datainput.uip +++ b/examples/3dstudioruntime2/qmldatainput/presentation/datainput.uip @@ -24,16 +24,21 @@ + + + + + - - - + + + - + 0 0 0 0 10 0 0 0 0 0 0 0 10 0 0 0 0 0 0 0 10 -360 0 0 @@ -42,13 +47,16 @@ - + - + - + + + + diff --git a/examples/3dstudioruntime2/qmldatainput/qml/qmldatainput/main.qml b/examples/3dstudioruntime2/qmldatainput/qml/qmldatainput/main.qml index ef7d0e7..c0757e2 100644 --- a/examples/3dstudioruntime2/qmldatainput/qml/qmldatainput/main.qml +++ b/examples/3dstudioruntime2/qmldatainput/qml/qmldatainput/main.qml @@ -83,14 +83,14 @@ Item { property: "inputScaleVec3" duration: 12000 from: Qt.vector3d(0.3, 0.5, 0.5) - to: Qt.vector3d(1.0, 1.0, 1.0) + to: Qt.vector3d(4.0, 4.0, 1.0) loops: Animation.Infinite running: true } Vector3dAnimation { target: studio3D property: "inputColorVec3" - duration: 2000 + duration: 6000 from: Qt.vector3d(0.1, 0.1, 0.3) to: Qt.vector3d(1.0, 0.5, 1.0) loops: Animation.Infinite diff --git a/examples/3dstudioruntime2/qmldatainput/qmldatainput.qrc b/examples/3dstudioruntime2/qmldatainput/qmldatainput.qrc index 6fb7388..97aaeaa 100644 --- a/examples/3dstudioruntime2/qmldatainput/qmldatainput.qrc +++ b/examples/3dstudioruntime2/qmldatainput/qmldatainput.qrc @@ -3,5 +3,6 @@ qml/qmldatainput/main.qml presentation/datainput.uia presentation/datainput.uip + presentation/Paper05.png -- cgit v1.2.3