Kdenlive/Підручник/Ефекти/Дії з прозорістю/Прозорі форми

    From KDE UserBase Wiki
    Revision as of 17:11, 28 July 2019 by Yurchor (talk | contribs) (Created page with "===== Обробка із мінімальним та максимальним значеннями — робочі приклади =====")
    Other languages:

    Прозорі форми

    Це фільтр Frei0r alphaspot

    Див. також файл Frei0r-alphaspot readme

    Скористайтеся цим у поєднанні із композитним переходом, щоб розташувати області прозорості на кліпі-накладці так, щоб кліп під ним було видно крізь області, які визначено певними геометричними формами. Типово, область прозорості буде розташовано ззовні від форми, яку ви намалюєте. Всередині форми буде розташовано область непрозорості, де буде видно вміст кліпу-накладки.

    Параметри форми

    Це визначає форму області непрозорості, яку буде створено у результаті застосування ефекту.

    Варіантами форми є прямокутник, еліпс, трикутник і ромб.

    Нахил

    Керує кутом розміщення форми на екрані. Значенням є число у тисячних повного оберту. Наприклад, коефецієнт 250 означає чверть кола, а 500 — оборот у 180 градусів. Тобто 1000 одиниць нахилу = 360 градусів.

    Позиція за X та Y

    Визначає позицію форми на екрані

    Розмір за X та Y

    Визначає розмір форми

    Ширина переходу

    Визначає ширину примежової області форми із проміжними значенням прозорості від внутрішньої до зовнішньої частини форми.

    Обробка

    Обробка визначає, що має статися якщо для кліпу використано декілька ефектів прозорості.

    Варіантами обробки є «перезапис», «максимальне значення», «мінімальне значення», «додавання» і «віднімання».

    • перезапис = наявну маску прозорості буде перезаписано
    • максимальне значення = максимум(наявна маска прозорості; маска, яку створено цим фільтром)
    • мінімальне значення = мінімум(наявна маска прозорості; маска, яку створено цим фільтром)
    • додавання = наявна маска прозорості + маска, яку створено цим фільтром
    • віднімання = наявна маска прозорості - маска, яку створено цим фільтром

    Наочний результат застосування варіантів обробки наведено у прикладах нижче.

    Обробка із мінімальним та максимальним значеннями — робочі приклади

    These examples are performed on a simple composite transition with a video file on Video track 1 and a color clip (yellow) on Video track 2.

    Alpha shapes effect draws areas of opacity onto the image. The addition of this filter (with the default settings of Min = 0 and Max =1000) makes the whole frame transparent except for an area of opaqueness where the top image can be seen.

    The Max and Min controls adjust the opacity of the image inside and outside of the shape respectively. A setting of 1000 is 100% opaque. A setting of zero is 0 % Opaque (ie 100% Transparent).

    Max control

    The Max control regulates how opaque it is inside the shape. At Max= 1000 it is completely opaque inside the shape and nothing of the background image shows through


    At Max = 500 it is semi-transparent inside the shape and you can see the background bleeding through.


    At Max = 0 inside the shape is completely transparent - the same as the rest of the foreground image - and you can see all background.

    Min Control

    The Min control adjusts how opaque it is outside the shape. When Min = 0 outside the shape is completely transparent (opacity of zero) and at Min = 500 we see something of the foreground appears outside the shape.

    At Min = 1000 the opacity outside the shape is 100% and nothing of the background appears.

    Combining Alpha Shapes - Operations

    In this example, I have a Triangle Alpha shape defined as shown and this is at the top of the effect stack with operation write on clear

    Which appears like this on its own

    And I have rectangle alpha shape as shown which is at the bottom of the effect stack. Note the Max = 500 - i.e. 50% opacity inside the rectangle

    Which appears like this when on its own.

    In the images below I demonstrate the effect of different alpha operations on the rectangle alpha shape.

    Write on Clear - the existing alpha mask is overwritten

    додати = наявна маска прозорості + маска, яку створено цим фільтром.

    Note that areas with 1000 + 500 opacity would be 150% opaque. But you cant get 150% opaque so they look the same as the 100% opaque areas

    subtract = existing alpha mask - mask generated by this filter

    Note that areas with 0 - 500 opacity would be minus 50% opaque. But you cant get -50% opaque so they look the same as the 0% opaque areas

    максимум = максимум( <наявна маска прозорості> , <маска, яку створено цим фільтром>)

    мінімум = мінімум( <наявна маска прозорості> , <маска, яку створено цим фільтром>)