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

Pretransform is applied to children

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt3D TP2
    • 4.7.2
    • Qt3D
    • None
    • 1a29dbf6da34c7d19a3ef00010e6aad8c7f84d66

      The pretransform ability is most commonly used to reorient imported assets to a more natural alignment. Currently, the pretransform is applied to children, which breaks the intuitive promise.

      For example, say you import a monkey head that faces up (into the positive y axis), and you use a pretransform to make it point forwards (into the positive z axis). If you were to create a child object at some position in the positive z axis, you'd expect the monkey to face it, but in fact the child is effected by the pretransform, and appears somewhere unexpected (below the monkey's head in this example).

      This example is attached.

        1. broken.png
          broken.png
          40 kB
        2. fixed.png
          fixed.png
          86 kB
        3. monkey.3ds
          14 kB
        4. pretransform-bug.qml
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            dpope Daniel Pope (closed Nokia identity) (Inactive)
            debhal Julian de Bhal (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes