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 Load big .obj file
Qt 6.11 is out! See what's new in the release blog

QML Load big .obj file

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 517 Views
  • 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.
  • H Offline
    H Offline
    HammelBein
    wrote on last edited by
    #1

    Hey,

    I designed a QuadroCopter using Inventor (generated a 250mByte .obj file) and want to show it in Qt using QML.
    The problem is, i cannot load that big file into .qrc because out of memory and when I generate an external .rcc file, my startup-time is pretty bad.

    Is there a solution? I thought i can put the .obj in the same path like my .exe and just call

      Mesh {
            id: QuadroCopter
            source: "C:/samePathAsExecutable/QuadroCopter.obj"
        }
    

    but it did not work.
    I mean it has to be possible to do this, game developers are using files with same size and bigger, don't they?

    Thanks for helping!

    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