Re: FCP X: Problems with FxKeyframeAPI & FxParameterSettingAPI
Re: FCP X: Problems with FxKeyframeAPI & FxParameterSettingAPI
- Subject: Re: FCP X: Problems with FxKeyframeAPI & FxParameterSettingAPI
- From: Eberhard Ammelt <email@hidden>
- Date: Tue, 13 May 2014 20:57:25 +0200
The problem appeared when changing keyframes and parameter values during OSC mouse event processing.
It's ok for us to move this code to the -parameterChanged: method, but we need to be able to save some plugin configuration data to a custom parameter during OSC event processing in future versions.
Eberhard
> Eberhard,
>
> Yes. Anything that changes the data model of the application (like the values of your parameters) will only work in either -parameterChanged: or in OSC code. It definitely won’t work during a render (including set up and teardown of the render). This is something that we have been lenient about in the past, but now with multi-GPU rendering, we have to be much more strict about.
>
> Darrin
>
> On May 13, 2014, at 11:42 AM, Eberhard Ammelt <email@hidden> wrote:
>
>>
>> Hello Darrin,
>>
>> yes, I'm using the keyframe api and the parameter setting api for setting parameter values.
>> After some more testing I found that the problems are related to the context where this code is called.
>> I've moved this code into the effect's "parameterChanged:" method, and this seems to fix both problems.
>> Is it expected to work only in the "parameterChanged:" method?
>>
>> Eberhard
>>
>>> Eberhard,
>>>
>>> Are you trying to do this with the Keyframe API? Can you file a Radar and attach a simple example that shows the problem?
>>>
>>> Darrin
>>>
>>> On May 9, 2014, at 10:57 AM, Eberhard Ammelt <email@hidden> wrote:
>>>
>>>>
>>>> Hello,
>>>>
>>>> I'm trying to add some parameter keyframes and change some parameter values in the course of an on screen event, latest version of FCP X.
>>>> This doesn't work reliably, sometimes keyframes are missing, or it fails to adjust a parameter value.
>>>>
>>>> I noticed that each time when a parameter value is changed the on screen controls are redrawn and the effect renders immediately - multiple times within a single on screen event call.
>>>> Is there a way to suppress on screen updating and rendering when changing multiple parameter values?
>>>>
>>>> Thanks, Eberhard
>>>>
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Pro-apps-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden