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

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

Community Beginner ,
Apr 20, 2023 Apr 20, 2023

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

TOPICS
SDK
1.1K
Translate
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

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.

Translate
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

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

Translate
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

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

Translate
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

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

Translate
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
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?

 

 
Translate
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
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.

Translate
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

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; 

 

Translate
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

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.

Translate
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