Commit 819447af authored by Thomas Hartmann's avatar Thomas Hartmann

Fix quick3dTest

parent 65c67e77
......@@ -17,7 +17,7 @@ Item {
Node {
id: orbitingCamera
Camera {
OrthographicCamera {
id: camera1
z: -600
}
......@@ -36,7 +36,7 @@ Item {
}
Camera {
OrthographicCamera {
id: camera2
z: -600
}
......@@ -44,7 +44,7 @@ Item {
Node {
id: orbitingCamera2
Camera {
OrthographicCamera {
id: camera3
x: 500
......@@ -69,7 +69,7 @@ Item {
}
Light {
PointLight {
id: light2
ambientColor: Qt.rgba(0.1, 0.1, 0.1, 1.0)
}
......@@ -113,13 +113,12 @@ Item {
View3D {
id: topLeftView
anchors.fill: parent
scene: standAloneScene
importScene: standAloneScene
camera: camerafront
Camera {
OrthographicCamera {
id: camerafront
z: -600
projectionMode: Camera.Orthographic
rotation.x: 0
rotation.y: 0
rotation.z: 0
......@@ -159,7 +158,7 @@ Item {
anchors.left: parent.left
anchors.bottom: parent.bottom
camera: camera1
scene: standAloneScene
importScene: standAloneScene
//renderMode: View3D.Underlay /* not working in designer */
environment: SceneEnvironment {
......@@ -214,13 +213,12 @@ Item {
View3D {
id: bottomLeftView
anchors.fill: parent
scene: standAloneScene
importScene: standAloneScene
camera: cameratop
Camera {
OrthographicCamera {
id: cameratop
y: 600
projectionMode: Camera.Orthographic
rotation.x: 90
rotation.y: 0
rotation.z: 0
......@@ -248,13 +246,12 @@ Item {
View3D {
id: bottomRightView
anchors.fill: parent
scene: standAloneScene
importScene: standAloneScene
camera: cameratop
Camera {
OrthographicCamera {
id: cameraLeft
x: -600
projectionMode: Camera.Orthographic
rotation.x: 0
rotation.y: 90
rotation.z: 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment