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
QtWS25 Last Chance

Rotating custom QQuickItem strange behaviour

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qquickitemcustomscene graphtransformrotate
3 Posts 2 Posters 1.5k 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.
  • R Offline
    R Offline
    r.kull
    wrote on 4 Feb 2016, 19:14 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 4 Feb 2016, 19:26 last edited by
      #2

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

      R 1 Reply Last reply 7 Feb 2016, 09:38
      0
      • ? A Former User
        4 Feb 2016, 19:26

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

        R Offline
        R Offline
        r.kull
        wrote on 7 Feb 2016, 09:38 last edited by
        #3

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

        1 Reply Last reply
        0

        1/3

        4 Feb 2016, 19:14

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved