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

BillboardItem3D not scale and rotate able

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • 5.7.0
    • Qt3D 1.0
    • Qt3D
    • None

    Description

      The BillboardItem3D is currently pretty useless because it can not be scaled or rotated in any way.
      I know that the reason for this is that the billboard transformation is applied at the very end of the transformation pipeline, which removes all rotation and scale from the object.

      But just a simple example: I'm having a quad and I want it face the camera. But the quad is lying in the xz plane. The camera will never see this quad and I can not change this in any way. Or I am having some particle effects, then I need control of the scale of these particles. It is no use if every particle would have the same size. The only way to alter size and rotation of a mesh used in the BillboardItem3D is in the model editor, before the mesh is loaded and that is pretty inconvenient.

      My proposal is to use the pretransform property to apply transformations after the billboard transformation has been applied. Otherwise I think this item should be removed from the API.

      Attachments

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

        Activity

          People

            dpope Daniel Pope (closed Nokia identity) (Inactive)
            bomb3rman Fabian Bumberger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes