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 loads .obj file failed!

QML Mesh loads .obj file failed!

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 1.4k Views 2 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.
  • small_birdS Offline
    small_birdS Offline
    small_bird
    wrote on last edited by
    #1

    Hello everyone, now I have exported obj file from 3ds max 2017. However, when I try to use that in the QML Mesh entity, the error is as following:

    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    Qt3D.ObjGeometryLoader: Missing position index
    

    It seems like that the file format is wrong. However, when I use the obj files of the examples of qt, it loads well.
    Could anyone tell me the reason? Thanks in advance!

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! Even if the file is broken it shouldn't crash the application. Please go to https://bugreports.qt.io and file a bugreport.

      small_birdS 1 Reply Last reply
      0
      • ? A Former User

        Hi! Even if the file is broken it shouldn't crash the application. Please go to https://bugreports.qt.io and file a bugreport.

        small_birdS Offline
        small_birdS Offline
        small_bird
        wrote on last edited by
        #3

        @Wieland Now, I know that. The reason is that the obj file can only be produced by blender!

        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