Qt World Summit: Register Today!

QML Load big .obj file

  • 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!

Log in to reply