Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matte specs #29

Merged
merged 5 commits into from
Jul 9, 2024
Merged

Matte specs #29

merged 5 commits into from
Jul 9, 2024

Conversation

mbasaglia
Copy link
Member

Adds basic specs for track mattes

schema/constants/matte-mode.json Show resolved Hide resolved

The way it works is the layer defining the mask has a `tt` attribute with the
appropriate [value](constants.md#matte-mode).
The layer being masked is indicated by the `tp` attribute, which has the index of the layer that is being masked.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Replace index with ind to help finding that variable.


#### Mattes

A matte allows using a layer as a mask for another layer.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can any layer type be used as a mask?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the layer types defined so far (AFAIK)

docs/specs/layers.md Show resolved Hide resolved
@mbasaglia mbasaglia changed the title Matte specks Matte specs Apr 29, 2024
@b-wils b-wils linked an issue May 29, 2024 that may be closed by this pull request
@mbasaglia mbasaglia requested a review from Aidosmf June 26, 2024 13:19
@mbasaglia mbasaglia requested a review from b-wils July 9, 2024 07:39
@mbasaglia mbasaglia merged commit 503a8fc into main Jul 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Track Mattes to Spec
4 participants