• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

About blending mode.

Participant ,
May 16, 2024 May 16, 2024

Copy link to clipboard

Copied

Is there any way to use the blending mode implemented in AfterEffects with the plug-in?
I would like to know if there is an API such as AEGP, etc., as it would be troublesome to implement it myself.
If there is no API, I would appreciate it if you could provide me with a page where the blending mode calculation formulas are compiled.

TOPICS
How to , SDK

Views

209

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 16, 2024 May 16, 2024

Copy link to clipboard

Copied

yes, there is such api.

a few of the CompositeSuite callbacks performs compositing with a specified transfer mode. the simplest of which is AEGP_TransferRect, and it takes a PF_CompositeMode arguemnt. 

 

as for the math of the transfer modes,  there's no code in the sdk being compiled that can show you how they're calculated, but here's a very good explanations on most of them:
https://en.wikipedia.org/wiki/Blend_modes

meybe if you google hard enough you'll also find code samples or each, but the wiki page explains the math pretty well. 🙂

if i recall correctly, there's also such a page by adobe explaining asll the rest of the transfer modes.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 16, 2024 May 16, 2024

Copy link to clipboard

Copied

Thank you.
I'm not very smart, so an explanation is not enough.
I need specific formulas, but wikipedia doesn't seem to have formulas for "Vivid Light", "Linear Light", etc.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 17, 2024 May 17, 2024

Copy link to clipboard

Copied

LATEST

here are vivd light and linear light formulated:
https://learn.microsoft.com/en-us/windows/win32/direct2d/blend

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines