Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Qt3D.Core 2.12
- import Qt3D.Render 2.12
- import Qt3D.Extras 2.12
- Entity {
- id: sceneRoot
- Camera {
- id: camera
- projectionType: CameraLens.PerspectiveProjection
- fieldOfView: 45
- aspectRatio: 1820 / 1080
- nearPlane: 0.1
- farPlane: 1000.0
- position: Qt.vector3d(0.014, 0.956, 2.178)
- upVector: Qt.vector3d(0.0, 1.0, 0.0)
- viewCenter: Qt.vector3d(0.0, 0.7, 0.0)
- }
- Entity {
- components: [
- DirectionalLight {
- intensity: 0.9
- worldDirection: Qt.vector3d(0, 0.6, -1)
- }
- ]
- }
- RenderSettings {
- id: external_forward_renderer
- activeFrameGraph: ForwardRenderer {
- camera: camera
- clearColor: "transparent"
- }
- }
- Mesh {
- id: roboMesh
- source: "images/robo-obj-pose4/source/d2f0cff60afc40f5afe79156ec7db657.obj"
- }
- Entity {
- id: circleEntity
- property Material roboMaterial: PhongAlphaMaterial {
- alpha: 0.4
- ambient: "black"
- diffuse: "black"
- specular: "black"
- shininess: 10000
- }
- components: [roboMesh, roboMaterial]
- }
- }
Add Comment
Please, Sign In to add comment