diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2016-06-29 13:16:50 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2016-06-29 10:40:29 +0000 |
commit | 27138f130158e6bdc57de803ecd96d95a6fc0f22 (patch) | |
tree | 0a5e7bd7fd54cf94afff1b26837ea4f4c9e64458 /creatorplugin | |
parent | ebf68a988d8893f6742c231aec0bb8a01d922c1e (diff) |
Adjust default scene a bit so it looks nicer when opened in editor
Change-Id: If886a611842f935d4c930cf56d2756aaf8fdb2ec
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'creatorplugin')
-rw-r--r-- | creatorplugin/tocreator/qt3dsceneeditor/GeneratedScene_scene_res/GeneratedScene.qml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/creatorplugin/tocreator/qt3dsceneeditor/GeneratedScene_scene_res/GeneratedScene.qml b/creatorplugin/tocreator/qt3dsceneeditor/GeneratedScene_scene_res/GeneratedScene.qml index f4c4673..c01c07f 100644 --- a/creatorplugin/tocreator/qt3dsceneeditor/GeneratedScene_scene_res/GeneratedScene.qml +++ b/creatorplugin/tocreator/qt3dsceneeditor/GeneratedScene_scene_res/GeneratedScene.qml @@ -65,7 +65,7 @@ Scene3D { fieldOfView: 45 aspectRatio: 1.7777777910232544 projectionMatrix: Qt.matrix4x4(1.358,0,0,0,0,2.41421,0,0,0,0,-1.00401,-0.200401,0,0,-1,0) - position: Qt.vector3d(5,5,5) + position: Qt.vector3d(4,5,-5) viewCenter: Qt.vector3d(0,0,0) } Entity { @@ -75,10 +75,8 @@ Scene3D { } Transform { id: cube_transform - matrix: Qt.matrix4x4(-1,8.74228e-8,0,0,-8.74228e-8,-1,0,0,0,0,1,5,0,0,0,1) - rotation: Qt.quaternion(-4.37114e-8,0,0,1) - translation: Qt.vector3d(0,0,0) - rotationZ: -180 + matrix: Qt.matrix4x4(1,0,0,-1,0,1,0,0.5,0,0,1,1,0,0,0,1) + translation: Qt.vector3d(-1,0.5,1) } DiffuseMapMaterial { id: cube_diffusemapmaterial @@ -98,8 +96,8 @@ Scene3D { } Transform { id: light_transform - matrix: Qt.matrix4x4(1,0,0,0,0,1,0,10,0,0,1,-5,0,0,0,1) - translation: Qt.vector3d(5,5,5) + matrix: Qt.matrix4x4(1,0,0,8,0,1,0,10,0,0,1,-5,0,0,0,1) + translation: Qt.vector3d(8,10,-5) } components: [ scene_root_pointlight, |