Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Learning
  3. Qt in Education
  4. Qt load 3Dmodel
Forum Updated to NodeBB v4.3 + New Features

Qt load 3Dmodel

Scheduled Pinned Locked Moved Qt in Education
4 Posts 2 Posters 2.9k 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.
  • X Offline
    X Offline
    XLeopard
    wrote on last edited by
    #1

    How can I use Qt to load a 3D model. Someone told me that Qt3D helps. But I did't learn QML before. Is there any other solution?

    1 Reply Last reply
    0
    • U Offline
      U Offline
      utcenter
      wrote on last edited by
      #2

      Qt3d is a C++ API and unlike QtQuick it has a native public interface - you can just use it, there are tutorials on how to create a scene and load geometry with the C++ API

      http://doc-snapshot.qt-project.org/qt3d-1.0/qt3d-penguin.html

      1 Reply Last reply
      0
      • X Offline
        X Offline
        XLeopard
        wrote on last edited by
        #3

        Thanks a lot. I have read the penguin example.
        But I don't understand where is the "qglview.h” from?
        I typed this example on my computer. But the assistant did not give me a tip that qglview.h is library header file.

        1 Reply Last reply
        0
        • X Offline
          X Offline
          XLeopard
          wrote on last edited by
          #4

          Hello,utcenter. I am reading the Qt3D Troubleshooting. In the last part, it suggests that I should delete the values in Windows registry
          @HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Plugin Cache 4.2.debug
          HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults\Qt Plugin Cache 4.2.false@

          But in my computer,the values read this:
          @Qt Plugin Cache 4.5.false
          Qt Plugin Cache 4.6.false
          Qt Plugin Cache 4.7.debug
          Qt Plugin Cache 4.7.false
          Qt Plugin Cache 4.8.debug
          Qt Plugin Cache 4.8.false
          @

          Should I delete them all?

          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