Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Custom3DItem setMeshFile not working with Wavefront obj generated by Blender

Qt Custom3DItem setMeshFile not working with Wavefront obj generated by Blender

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 497 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.
  • F Offline
    F Offline
    Filippo C
    wrote on last edited by
    #1

    I'm trying to use a different 3D object in Qt for this example: https://doc.qt.io/qt-5/qtdatavisualization-rotations-example.html I've tried to download obj files or to generate new ones using Blender. The example works with any other object present in the other Qt example, but not with Wavefront objects generate by Blender. I also tried a simple cube:
    [0_1499463981457_untitled.obj](Uploading 100%)
    but even the cube is not working. I got the following error in the debug console:

    Debugging starts [07:22:56:07:900][ 1352] IGIESW
    c:\qt\examples\qt-5.9.1\datavisualization\build-rotations-desktop_qt_5_9_1_mingw_32bit-debug\debug\rotations.exe
    found in whitelist: NO [07:22:56:07:957][ 1352] IGIWHW Game
    c:\qt\examples\qt-5.9.1\datavisualization\build-rotations-desktop_qt_5_9_1_mingw_32bit-debug\debug\rotations.exe
    found in whitelist: NO OpenGL version: 4.5.0 NVIDIA 382.05 GLSL
    version: 4.50 NVIDIA ASSERT failure in QVector<T>::operator[]: "index
    out of range", file c:\Users\qt\work\install\include/QtCore/qvector.h,
    line 438 Debugging has finished
    anyone knows how to correctly generate obj for Qt? Thanks

    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