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

BillboardTransform doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt3D 1.0
    • Fix Version/s: Qt3D 1.0
    • Component/s: Qt3D
    • Labels:
      None

      Description

      The BillboardTransform qml item doesnt work. The problem is, that the billboard transform is applied to the localTransformation matrix in a qdeclarativeitem3d.
      The billboard transformation that is used just sets the upper 3x3 matrix to the identity. This is a problem, because the localTransformation matrix is afterwards multiplied to the modelview matrix in the drawTransformSetup. But multiplying the identity matrix is not changing anything in the modelview matrix then.
      In order to work, the billboardtransform has to be applied to the modelview matrix directly.

      The BillboardItem3D however is doing this correctly and works fine for me.

        Attachments

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

          Activity

            People

            Assignee:
            sarasmit Sarah Smith (closed Nokia identity) (Inactive)
            Reporter:
            bomb3rman Fabian Bumberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes