summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/scene3d/AnimatedEntity.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/scene3d/AnimatedEntity.qml')
-rw-r--r--examples/qt3d/scene3d/AnimatedEntity.qml15
1 files changed, 2 insertions, 13 deletions
diff --git a/examples/qt3d/scene3d/AnimatedEntity.qml b/examples/qt3d/scene3d/AnimatedEntity.qml
index ba7cf4ff1..c09f48d7a 100644
--- a/examples/qt3d/scene3d/AnimatedEntity.qml
+++ b/examples/qt3d/scene3d/AnimatedEntity.qml
@@ -47,7 +47,6 @@ Entity {
id: camera
projectionType: CameraLens.PerspectiveProjection
fieldOfView: 45
- aspectRatio: 16/9
nearPlane : 0.1
farPlane : 1000.0
position: Qt.vector3d( 0.0, 0.0, 40.0 )
@@ -59,19 +58,9 @@ Entity {
components: [
FrameGraph {
- activeFrameGraph: Viewport {
- id: viewport
- rect: Qt.rect(0.0, 0.0, 1.0, 1.0) // From Top Left
+ activeFrameGraph: ForwardRenderer {
+ camera: camera
clearColor: "transparent"
-
- CameraSelector {
- id : cameraSelector
- camera: camera
-
- ClearBuffer {
- buffers : ClearBuffer.ColorDepthBuffer
- }
- }
}
}
]