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 Mesh meshName not woking with 3dsMax obj File

Qml Mesh meshName not woking with 3dsMax obj File

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

    Hey, im new to Qt3d and i try to load a obj file created by 3ds Max. So far so good. Loading the whole mesh works fine. But i only need a specific part of it. The mesh is sub meshed in 8 or so parts.
    When i try to load only one pars with the meshName property, the whole mesh loads. It seams like meshName is not working. I got the sub mesh name out of the obj file.

            Mesh{
                id: objMesh
                meshName: qsTr("Turret01")
                source: "qrc:/t-90a.obj"
                onStatusChanged: {
                    console.log(status);
                    //console.log(meshName)
                }
            }
    

    This loads the complete Mesh and not only the turret.

    1 Reply Last reply
    1
    • C Offline
      C Offline
      cletherm
      wrote on last edited by cletherm
      #2

      Looks like I have the same issue using the "Alias Mesh (.obj)" from FreeCAD.

      Yet I have opened the mesh object file and I see clearly a line with my sub-mesh: g <meshName>.

      However, it works as excepted when opening obj file in https://3dviewer.net

      Any updates from this?

      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