Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. qml quick3d
Forum Updated to NodeBB v4.3 + New Features

qml quick3d

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 119 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.
  • gfxxG Offline
    gfxxG Offline
    gfxx
    wrote on last edited by
    #1

    I write these for a view3d ...... my model is tested online on https://gltf-viewer.donmccurdy.com/ ...and have these test report:

    UNUSED_OBJECT	This object may be unused.	/meshes/0/primitives/0/attributes/TEXCOORD_0
    UNUSED_OBJECT	This object may be unused.	/meshes/0/primitives/1/attributes/TEXCOORD_0
    UNUSED_OBJECT	This object may be unused.	/meshes/1/primitives/0/attributes/TEXCOORD_0
    UNUSED_OBJECT	This object may be unused.	/meshes/2/primitives/0/attributes/TEXCOORD_0
    UNUSED_OBJECT	This object may be unused.	/meshes/2/primitives/1/attributes/TEXCOORD_0
    UNUSED_OBJECT	This object may be unused.	/meshes/2/primitives/2/attributes/TEXCOORD_0
    UNUSED_OBJECT	This object may be unused.	/meshes/3/primitives/0/attributes/TEXCOORD_0
    

    code for print model on a view3d ( these is code for model 6... but other is equal) ....

                                    Model {
                                        id: robotMod_6
                                        source: "qrc:/models/u0_6.glb"
                                        pivot: Qt.vector3d(0, 35, 0)
                                        eulerRotation.y: useBusData ? busValues[5] : sliderValues[5] || 0
                                        Component.onCompleted: console.log("Load model: 6", robotMod_6.status)
                                    }
    

    error obtained ....

    qml:Load model: 0: undefined
    qml: Load model: 1: undefined
    qml: Load model: 2 undefined
    qml: Load model: 3 undefined
    qml: Load model: 4 undefined
    qml: Load model: 5 undefined
    qml: Load model: 6 undefined
    Mesh file invalid
    Mesh file invalid
    Mesh file invalid
    Mesh file invalid
    Mesh file invalid
    Mesh file invalid
    

    I'm on ubuntu 24 ....al work great, but unable to show these models .....

    Any suggest is appreciated .... thanks

    bkt

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jonas Karlsson
      wrote on last edited by
      #2

      Have you prepared your models through balsam? https://doc-snapshots.qt.io/qt6-dev/qtquick3d-tool-balsam.html

      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