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. Using Assimp C++ Classes in Qt 5.5
Forum Updated to NodeBB v4.3 + New Features

Using Assimp C++ Classes in Qt 5.5

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.2k 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.
  • W Offline
    W Offline
    wwolff
    wrote on last edited by wwolff
    #1

    Hi!
    Anyone try load 3D Models in C++ Using the Assimp modules in Qt 5.5?
    I dont find any reference about it on docs...

    Kind Regards.

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      Zypo
      wrote on last edited by Zypo
      #2

      I played with it a little bit. After going through the examples, I think that you use Qt3D::QSceneLoader to load in files using:
      scene->setSource(QUrl::fromLocalFile("Myfile.dae");

      I also hope that they unlock ObjLoader so that we can get vertex data directly.
      Qt3D::ObjLoader objLoader;
      objLoader.load("file.dae");

      I'm having problems in which examples don't even run. The following line seems to make setRootEntity(...) hang on zwWaitForSingleObject on ntdll.
      engine.registerAspect(new Qt3D::QRenderAspect());

      UPDATE (7/14/15):
      I got examples to run and show a torus. I didn't call QWindow::create(). I have not been able to get QSceneLoader to actually load and show a file. The status() always shows "loading" and nothing ever shows up using multiple model files (dae and b3d)

      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