Skip to content
  • Weird shadow map with texture

    Unsolved QML and Qt Quick qt quick 3d texture shadow
    2
    0 Votes
    2 Posts
    257 Views
    J
    If you are trying to create a cube then it looks like your cube data is wrong as you can see from this picture: [image: 2567a1f1-8200-4647-8e5d-026f709ee0a4.png]
  • Qt Quick 3D use 3D models with skeleton

    Unsolved QML and Qt Quick qt quick 3d model skeleton
    1
    0 Votes
    1 Posts
    466 Views
    No one has replied
  • Dynamic Qt Quick 3D creation and deletion

    Solved QML and Qt Quick qt quick 3d
    5
    0 Votes
    5 Posts
    884 Views
    Q
    The code in my previous post works in some cases but additional conditions must also be met. I eliminated crashes, I think, in Qt 6.1.2 with the following: A buffer to prevent deletion of the View3D in the code above is required. The parent hierarchy of the View3D must not have a null parent. Creating an Item with a null parent, adding a View3D, and then settings the item's parent can lead to a crash. Visibility is important. If adding a View3D to an Item, it seems best to create/add a View3D when the item becomes visible. I'm also releasing the view when the item becomes invisible. This seems to keep Qt happy and so far the crashes are gone.