There are any tutorial about Qml 3D?



  • I need to developer a software using the Qml3D at the Qt 5.8, could anyone help me?


  • Lifetime Qt Champion

    Hi,

    You can start by taking a look at KDAB's overview of the module, there are several parts.

    Hope it helps



  • @SGaist thanks



  • @SGaist So I have an .obj file and I know I have use the mesh source in Qml 3D Render to load that obj, but when it loads I do not want to custumize its texture or even material I would like the mesh to load the original texture automatically Here is an example below.

    import QtQuick 2.0
    import Qt3D.Core 2.0
    import Qt3D.Render 2.0

    Entity {

    id: senario

    Mesh {

    id: mesh
    source: "cubo.obj"
    

    }

    Transform{

    id: transform
    translation: Qt.vector3d(0,0,0)
    scale3D: Qt.vector3d(1,1,1)
    rotation: fromAxisAndAngle(Qt.vector3d(0,1,0),angle)
    property real angle: 0
    

    }

    components: [transform,mesh]


  • Lifetime Qt Champion

    Sorry, I can't help you more, I've not used Qt3D extensively yet.



  • @SGaist ok thanks = D


Log in to reply