Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt3D Elements: how to block/turn off their rendering?
Forum Update on Monday, May 27th 2025

Qt3D Elements: how to block/turn off their rendering?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qt3d 2.0
2 Posts 2 Posters 1.1k 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.
  • B Offline
    B Offline
    benh
    wrote on last edited by
    #1

    Hi,

    I set up a very small project using a number of Scene3D elements, with the intent to stress test and see if I could use Qt3D for a project. I kept adding them until I saw their individual frame rates drop. Afterward, I set about half of their visibilities to false, but found no improvement in the framerates of the remaining visible elements. My naive assumption, then, is that they're still rendering in the background even if they're not in the final display element.

    Is there some way to block rendering of a Scene3D somehow? I assume that if it's there, it's somewhere in the Framegraph settings... But I'm still very unfamiliar with Qt3D. Thanks!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      guy incognito
      wrote on last edited by
      #2

      I'm not familiar with Scene3D, but I once tried a stress test without QML. I think I think I deleted the entities and their added components with
      entity->deleteLater();

      In the Basic shaped c++ example, the parent of an entity just gets set to nullptr to disable it.

      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