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. QML Scene3d instances issue
Forum Updated to NodeBB v4.3 + New Features

QML Scene3d instances issue

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt3d scene3d
1 Posts 1 Posters 311 Views
  • 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.
  • A Offline
    A Offline
    Anand Ramani
    wrote on last edited by
    #1

    Hi everyone,

    We're currently having some issues with Scene3D instances being displayed on multiple windows (all being created as Loader from the main app). To quote the documentation, "it is not recommended to instantiate more than a single Scene3D instance per application. The reason for this is that a Scene3D instance instantiates the entire Qt 3D engine (memory managers, thread pool, render ...) under the scene." (https://doc.qt.io/qt-5/qml-qtquick-scene3d-scene3d.html).

    Since we need to open multiple windows separately from the main one (QtQuick Window), we found it was obvious to use Scene3D instead of Scene3DView on each window (since they will cover different screen space). Unfortunately, whenever we close one of this window, our application crashes erroring out on a QSGRenderThread.

    What is the best way to display multiple windows with their one Scene3D instances ?

    thanksstack_trace.png

    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