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_0code 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 invalidI'm on ubuntu 24 ....al work great, but unable to show these models .....
Any suggest is appreciated .... thanks