Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-91436

Setting transform matrix by decomposing it into translation, rotation and scale components

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12, 5.15
    • Fix Version/s: None
    • Component/s: Qt3D
    • Labels:
      None
    • Environment:
      All
    • Platform/s:
      All

      Description

      According to Qt3D documentation:

      https://doc.qt.io/qt-5/qt3dcore-qtransform.html#matrix-prop

      It is known that:

      When the matrix property is set, it is decomposed to translation, rotation and scale components.

      This decomposition causes troubles like the one described here:

      https://stackoverflow.com/q/60995155/3405291

      The decomposing operation strips out what is effectively a shear phenomenon.

      Possible suggestions:

      • Giving the `Qt3DCore::QTransform` API an option to store transform matrix as a whole rather than decomposing it into its components
      • Giving the `Qt3DCore::QEntity` API an option to avoid applying parent transformation into the children

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            seanharmer Sean Harmer
            Reporter:
            m3g1dd0 Megidd Git
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes