Re: FCPX current playhead and identifying a clip in FxPlug
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=filmstro-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MqkclaDciKwtzciJJPiGDWHYI9Ezr1AWshKrbPk42GY=; b=mJJ1SXQXNk1h/rTqPv2JNy0UW2C1Z1XB7rGSAs8DKe92uEoWrfdskeC9Bh64KbHRuU uR3ng7NEfMgrKhJvEUSb7OuUkjZSbOxbJWQvcIAbLEMsd5mEI1qquueiqgVfTs+jLQfu Qkqb30iTbwt3byjvzYcF8lIfDJ1CIwWXMVD611iAS4IaSGp1Td/+Z2lUh3FrCKP08D3a BLPbl2dSAvVFdyOQvyxI0WcaSQC/Ty5T5tTpLXtQpyDcezqiSVKMHRoC2slN5uxjMJ+5 eaq/5xSqwjJzoanMxZO3woJPfZVi26wCDAO9Umq14VP0rvoAZlDnwrAh/ffFwqEgyEQQ chNQ== Hi Darrin, using Rigs brings another problem: The FxKeyframeAPI keyframeCount: forParam: andIndex: returns always 0. When publishing the parameter directly, I can access the keyframes, even though I still can't access their value. I always get the value from the motion template instead of the actual clips automation. But the keyframes' positions I can get correctly. So priority is to read the keyframe values, and then it would be awesome to get the parameters displayed as curves. Any clues? Thanks, Daniel On Thu, May 25, 2017 at 10:32 PM, Daniel Walz <daniel@filmstro.com> wrote:
Hi Darrin,
On Thu, May 25, 2017 at 6:16 PM, Darrin Cardani <dcardani@apple.com> wrote: [...]
For #4, it seems that in order for a parameter to allow vertical editing in the curve editor in FCPX, it needs to be rigged and the rig’s slider needs to go from 0 to 100. Otherwise, it will just allow you to edit the time of the keyframes. So you can do the following in your Motion Template:
1) Open the inspector for your plug-in 2) Click on the pop-up menu for the parameter you want the user to be able to edit using the curve editor in FCPX 3) Click “Add to Rig” and select “Create New Rig” and then “Add to New Slider” 4) This will create a new Rig in your Motion Template named “Slider” which by default goes from 0 to 100 5) You can rename the Rig by Double-clicking on the name “Slider” in the layer list and entering a new name
Now when you add the generator to the timeline in FCPX and bring up the curve editor, you can select the Rigged Slider as the parameter to show and you’ll see the disclosure triangle on the right side. Click it and it should expand to allow editing both the value and time of the parameter.
Ok, that kinda works. But only for the first parameter. I have four parameters to publish. What is strange, it always works for the first to publish. When I add more than one, the first one still shows the expand button when I select it. But the others show only the point in time, but no curve.
All four parameters are identical, value 0..100.
It makes no difference, if I add them to the same Rig or if I create a new Rig for each slider.
Can you or the Developers please check if you can add more than one sliders as curves?
Otherwise I should probably file a bug for that.
Small extra question, is there a way to reorder the parameters? They appear in opposite order of creation in motion, but they end up in random order in the HUD in FCPX.
Thanks for checking, Daniel
-- Daniel Walz | Software Developer
Filmstro | Music that Moves.
www.filmstro.com | twitter/filmstro | vimeo/filmstro
-- Daniel Walz | Software Developer Filmstro | Music that Moves. Sussex Innovation Centre | Science Park Square | Brighton, BN1 9SB daniel@filmstro.com | Personal mobile: +44 7491 836 008 www.filmstro.com | twitter/filmstro | vimeo/filmstro _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Daniel Walz