Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Invalid property name clipPlanes.
Forum Updated to NodeBB v4.3 + New Features

Invalid property name clipPlanes.

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
2 Posts 2 Posters 40 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shubmira
    wrote last edited by
    #1

    14b15efe-bd7a-40ba-b2af-b8ab82d9108c-image.png

    import QtQuick 6.9
    import QtQuick.Controls 6.9
    import QtQuick3D 6.9

    View3D {
    anchors.fill: parent

    CustomCamera {
        id: camera
        position: Qt.vector3d(0, 3, 10)
        eulerRotation: Qt.vector3d(-15, 0, 0)
        clipPlanes: Qt.vector2d(0.1, 100.0)  // replaces nearPlane & farPlane
    }
    
    DirectionalLight {
        worldDirection: Qt.vector3d(-1, -1, -1)
    }
    
    Model {
        source: "qrc:/assets/car_model.glb"
        scale: Qt.vector3d(1.5, 1.5, 1.5)
        materials: DefaultMaterial {}
    }
    

    }
    I have use another syntax(like nearPlane & farPlane) but still facing same issue.I'm using 6.9 version.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi and welcome to devnet,

      From a quick look, these last two properties are available through: PerspectiveCamera.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved