Skip navigation
Andrew_YY
Currently Being Moderated

AE_Effect_Match_Name from Pixel Bender Kernels?

May 18, 2012 9:17 PM

Hi,

 

I was using Pixel Bender to develop plugins until the recent discontinuation in CS6. I am working on porting my plugins into the After Effects SDK, but if possible, I would like for the native plugins to silently replace my pixel bender kernels, so that projects using the old plugins could load using the new ones.

 

Is there a way, perhaps by setting AE_Effect_Match_Name to a specific value, for After Effects to see both the pixel bender kernel and the native plugin as the same plugin?

 

Thanks,

Andrew

 
Replies
  • Currently Being Moderated
    May 19, 2012 12:12 AM   in reply to Andrew_YY

    i don't have a definite answer for you, but i seems that pixel benders plug-ins do have a match name.

    create a new project, with a single comp, with a single solid, and put your PB plug-in on it.

    now run this java script:

     

    alert(app.project.item(1).layer(1).effect(1).matchName);

     

    it will tell you the match name for your plug-in. (something based on the id data in the pixel bender script)

    will that matchName stick for a regular plug-in?

    i have no idea.

    but i hope so.

    :-)

     
    |
    Mark as:
  • Currently Being Moderated
    May 19, 2012 9:47 AM   in reply to Andrew_YY

    hey andrew,

    glad to hear the matchName worked!

     

    as for the precent->float transition,

    i don't know if you already know that, but you can add PF_ValueDisplayFlag_PERCENT to the PF_ADD_FLOAT_SLIDER call, and you'll get the float slider represented as percentage. (only in the UI)

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points