Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-13896

Create a documentation (and example?) for working with opacity masks

    XMLWordPrintable

Details

    • 4
    • c26cb94de (qds/dev)
    • QDS Oulu - 2024 Week 47/48

    Description

      Effect composer's opacity mask effect now supports also using items as masks. However, the proper use of item masks is not necessarily very intuitive, so it needs to be properly documented, and a simple example wouldn't hurt, either.

      In a nutshell:

      • Effect composer's opacity mask effect has "Source" property. On effect composer you can only set this to an image, but when the effect is added to a scene, you can also set another item as source item for the mask instead of an image.
      • The source item is scaled to the effected item, which may not be desirable. The proper way to address this is to have an invisible Item with same size as the effected item as source item, and have the actual masking item as a child of the source item. If you have the source item anchored to the effected item, then the actual masked part will correspond exactly to the masking item.

      See QDS-13501 for additional discussion on the matter.

      Attachments

        Issue Links

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

          Activity

            People

              teeapoldsam Teea Põldsam
              e0348803 Miikka Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes