Qt load 3Dmodel



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



  • 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



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



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.