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. Few questions regarding Qt Quick Scene Graph
Forum Updated to NodeBB v4.3 + New Features

Few questions regarding Qt Quick Scene Graph

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 730 Views 1 Watching
  • 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.
  • P Offline
    P Offline
    polaris
    wrote on last edited by polaris
    #1

    Hello everybody. I'm sorry if my question is too broad. I have a project where a lot of objects are painted on the screen whenever the user interacts with the app (pan, zoom, move) I would be really grateful to you if you could answer a few questions regarding the internals of Qt Quick Scene Graph:

    1. Imagine that I add 1000 nodes with the same color inside QQuickItem::updatePaintNode() function of some QQuickItem derived class. Will they be drawn in batch as described here?
    2. Can I call the function of some other class in QQuickItem::updatePaintNode()? For example, I want to get new coordinates of the object and to do that I should refer to function of some other not QSGNode derived object and then use these coordinates for rendering one of the nodes.
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Since you're looking at the internals of Qt, I'd recommend posting this question on the interest mailing list You'll find there Qt's developers/maintainers. This forum is more user oriented.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Since you're looking at the internals of Qt, I'd recommend posting this question on the interest mailing list You'll find there Qt's developers/maintainers. This forum is more user oriented.

        P Offline
        P Offline
        polaris
        wrote on last edited by
        #3

        @SGaist Thank you! I got my questions answered here http://lists.qt-project.org/pipermail/interest/2016-April/022218.html

        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