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!
Forum Updated to NodeBB v4.3 + New Features

QML Mesh loads .obj file failed!

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 1.2k 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.
  • S Offline
    S Offline
    small_bird
    wrote on 24 Sept 2017, 11:42 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 24 Sept 2017, 14:31 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.

      S 1 Reply Last reply 24 Sept 2017, 15:50
      0
      • ? A Former User
        24 Sept 2017, 14:31

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

        S Offline
        S Offline
        small_bird
        wrote on 24 Sept 2017, 15:50 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

        1/3

        24 Sept 2017, 11:42

        • Login

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