Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-79149

Qt3D.ObjGeometryLoader: Missing position index

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.13.1
    • Qt3D
    • None
    • Win7 SP1 x64
    • Windows

    Description

      You can easily reproduce the problem with the following steps:

      1. download the file "Temp Chiron Rims.obj" from [here|https://grabcad.com/library/chiron-wheel-and-more-1]
      2. save the file inside C:\Qt\Examples\Qt-5.12.2\qt3d\exampleresources\assets\obj
      3. open the example "Qt 3D: Shadow Map QML Example"
      4. modify Trefoil.qml line 61 from source: "assets/obj/trefoil.obj" to source: "file:/Qt/Examples/Qt-5.12.2/qt3d/exampleresources/assets/obj/Temp Chiron Rims.obj"
      5. build and run

       

      After a lot of

      Qt3D.ObjGeometryLoader: Missing position index

      messages, Application Output console shows

      Invalid parameter passed to C runtime function.

      Invalid parameter passed to C runtime function.

      ASSERT: "!m_thread.isRunning()" in file qqmldebugserver.cpp, line 655

       

      This model can be properly loaded and rendered using MadView3D (which is a 3D viewer based on assimp).

      So I think the issue is related to Qt3D itself.

      Attachments

        1. Temp Chiron Rims.zip.001
          9.00 MB
        2. Temp Chiron Rims.zip.002
          9.00 MB
        3. Temp Chiron Rims.zip.003
          9.00 MB
        4. Temp Chiron Rims.zip.004
          9.00 MB
        5. Temp Chiron Rims.zip.005
          9.00 MB
        6. Temp Chiron Rims.zip.006
          8.07 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            -vix- ERNESTO VIGANO'
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes