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

how to do solid layer transparent programmatically in after effect sdk in c++

Community Beginner ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

how to do solid layer transparent programmatically in after effect sdk in c++ ?

TOPICS
SDK

Views

817

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 ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

after obtaining the AEGP_LayerH of the trager layer, either:
1. use AEGP_SetLayerFlag with AEGP_LayerFlag_VIDEO_ACTIVE.

2. use AEGP_GetNewLayerStream with AEGP_LayerStream_OPACITY, and then use AEGP_SetStreamValue.

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 Beginner ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

sorry i ask worng question because i need how to do solid layer background transparent programmatically in after effect sdk in c++

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 Beginner ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

Please reply this questions how to do solid layer background transparent programmatically in after effect sdk in c++

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 ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

sorry, i do not understand the question. could you phrase it differently?

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 Beginner ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

In After Effects i have taken a solid layer and on it I have added an Avatar as shown in the attached screenshot.I want to background of the solid layer to be transparent. It means there should be no  color and no other thing in the background, only my avatar should be visible. How can i do this with programtically in after effect sdk in c++. please tell me?

 

 

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 ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

LATEST

are you the creator of the Avatar plug-in? if so, rendering on a transparent background should be trivial.

if you're just using the plug-in, then neither the C SDK or the javascript API are the answer. this would be a question to direct to the plug-in's vendor.

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 ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

Not used this before, but a few weeks ago, I stumbled across this guide:

https://buildmedia.readthedocs.org/media/pdf/after-effects-scripting-guide/latest/after-effects-scri...

On page 163, it suggests: var myProperty = myLayer.opacity; 

 

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 ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

that's the javascript API, not the C SDK.

if using a script is good enough for your needs, then it's a much easier route to create and maintain than c++ plugins.

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