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. Rotating custom QQuickItem strange behaviour

Rotating custom QQuickItem strange behaviour

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qquickitemcustomscene graphtransformrotate
3 Posts 2 Posters 1.9k 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.
  • R Offline
    R Offline
    r.kull
    wrote on last edited by
    #1

    Hi,

    I have a custom QQuickItem consisting of vertices using the QSGGeometryNode etc. In QML i use a transform where I both translate (in x, y) and rotate the element (around x and z axis). The x-rotation is static while the z rotation has a dynamic behaviour from sensor input. The rotation works very fine with nice performance in every angle except in a small range around 0 deg. Approximately around [-10, 10] deg..
    The app works the same no matter the rotation angle, and no calculations are locking up the GUI..

    Anyone having any idea of whet the problem could be?

    BR
    Robert

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! Sounds interesting. Can you create a small example and post the code?

      R 1 Reply Last reply
      0
      • ? A Former User

        Hi! Sounds interesting. Can you create a small example and post the code?

        R Offline
        R Offline
        r.kull
        wrote on last edited by
        #3

        @Wieland
        I will try as soon as I find the time :)

        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