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. Blender Model in QWidget
Forum Updated to NodeBB v4.3 + New Features

Blender Model in QWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.5k 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.
  • m.salinasM Offline
    m.salinasM Offline
    m.salinas
    wrote on last edited by
    #1

    hello. I'm having problems with drawing a model from blender, exported to opengl (a .h) inside a QWidget in qt. I have tried several tutorials, one, was drawing the vertex of the model, however, it was not possible, because there are too many of them. My question goes on if there is a method where I could draw this exported model inside the QWidget in a more efficient way

    ? 1 Reply Last reply
    0
    • m.salinasM m.salinas

      hello. I'm having problems with drawing a model from blender, exported to opengl (a .h) inside a QWidget in qt. I have tried several tutorials, one, was drawing the vertex of the model, however, it was not possible, because there are too many of them. My question goes on if there is a method where I could draw this exported model inside the QWidget in a more efficient way

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      @m.salinas Hi, and welcome to the Qt forum!
      You can use the Qt3D module. It contains Assimp and thus allows you to load objects from a huge number of file formats including blender's *.blend format. Here is a QML example: http://doc.qt.io/qt-5/qt3d-assimp-main-qml.html

      m.salinasM 1 Reply Last reply
      0
      • ? A Former User

        @m.salinas Hi, and welcome to the Qt forum!
        You can use the Qt3D module. It contains Assimp and thus allows you to load objects from a huge number of file formats including blender's *.blend format. Here is a QML example: http://doc.qt.io/qt-5/qt3d-assimp-main-qml.html

        m.salinasM Offline
        m.salinasM Offline
        m.salinas
        wrote on last edited by
        #3

        @Wieland Hi! thank you so much for you answer, but in qt 5.5 somes imports doesn´t work (i think are an old version and changes their names) like Render -> Renderer.
        Do you have some example to Qt 5.5? i was watching this video https://www.youtube.com/watch?v=WbLBgpancME but i don´t understand so much how renderer the model, if you can help one more time please :)

        ? 1 Reply Last reply
        0
        • m.salinasM m.salinas

          @Wieland Hi! thank you so much for you answer, but in qt 5.5 somes imports doesn´t work (i think are an old version and changes their names) like Render -> Renderer.
          Do you have some example to Qt 5.5? i was watching this video https://www.youtube.com/watch?v=WbLBgpancME but i don´t understand so much how renderer the model, if you can help one more time please :)

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Qt3D is still a tech preview und thus still under development. Like you already noticed, its public interface changed considerably from Qt 5.5 to 5.6. Can't you just update to Qt 5.6?

          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