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

plugin effect on adjustment layer has some issue when I use PF_OutFlag_NON_PARAM_VARY .

Explorer ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

Hi, All.

I hope you are doing well.

My plugin has some issue on adjustment layer when using PF_OutFlag_NON_PARAM_VARY  for out flag.

Problem:

Only the first keyframe's value works when I apply  keyframes to an adjustment layer.

How can I solve this problem?

Regards,

Anthonie.

TOPICS
SDK

Views

1.6K

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 ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

err... what exatcly do you mean by "only the first keyframe's value works".

does you plug-in get a render cal for every frame, but AE fetches you the

wrong param values?

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
Explorer ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

For example, I applied plugin to adjustment layer and set 2 keyframes. I've set rotation angle to 30 degree on the first keyframe and 120 degree on the second keyframe. Everytime render is called, the angle should increase from 30 to 120 but it maintains 30 degree always.

This issue appears only when I use this flag - PF_OutFlag_NON_PARAM_VARY.

Also if I don't use adjustment layer and apply plugin to the actual layer, this issue doesn't appear.

Regards,

Anthonie.

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 ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

sooo... if you put a break point in your render function, you see AE is

sending the first rotation value on every frame?

i've never heared of such behavior. it seems more likely to me that AE is

caching the render result of the first frame and doesn't send any more

render calls.

i'm just trying to rule out the causes.

On Fri, Mar 30, 2018 at 11:57 AM, smarts19193560 <forums_noreply@adobe.com>

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
Explorer ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

Thank you. shachar.

Sorry, I forgot a problem.

I converted the plugin to premiere pro and tested on that. So, above problem appears on premiere pro not AE.

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 ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

ah... we'll, PP is not my field of expertise so i'm afraid i don't have any

insight for you on that one...

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
Explorer ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

Thank you. shachar.

Then may I ask about that on PP forum?

Actually the flag (PF_OutFlag_NON_PARAM_VARY) is in AE_Effect.h.

So, I asked about that here.

Regards,

Anthonie.

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 ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

you may ask wherever you feel is appropriate! this forum is not being

policed.

you can also try contacting zaclam directly. it might be a bug with PP.

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
Explorer ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

Thanks for your help.

Can I contact zaclam directly to solve this problem? Or can he see this question?

Regards,

Anthonie.

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 ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

he usually looks at this forum and responds when needed, but you can also

send him an email. (i think the address is in the SDK pdf)

On Fri, Mar 30, 2018 at 12:42 PM, smarts19193560 <forums_noreply@adobe.com>

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
Explorer ,
Apr 05, 2018 Apr 05, 2018

Copy link to clipboard

Copied

Hi, Shachar.

Can I use another out flag not PF_OutFlag_NON_PARAM_VARY to call render function every time?

Regards,

Anthonie.

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 05, 2018 Apr 05, 2018

Copy link to clipboard

Copied

before you do that, know that PF_OutFlag_NON_PARAM_VARY should work...

in AE you can try using GuidMixInPtr(). i'm pretty sure that doesn't apply

to PP.

On Thu, Apr 5, 2018 at 4:31 PM, smarts19193560 <forums_noreply@adobe.com>

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 05, 2018 Apr 05, 2018

Copy link to clipboard

Copied

perhaps you can try creating a simplified plug-in to see if indeed PP is

ignoring PF_OutFlag_NON_PARAM_VARY.

if the simplified plug-in gets called you'll know it's something else in

your design that causes the issue...

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
Explorer ,
Apr 06, 2018 Apr 06, 2018

Copy link to clipboard

Copied

LATEST

Hi, Shachar.

I checked on a simple plugin - shifter. Without PF_OutFlag_NON_PARAM_VARY flag it works well with adjustment layer.

But when I add the flag to the plugin the error appears.

Regards,

Anthonie.

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