site_archiver(a)lists.apple.com
Delivered-To: pro-apps-dev(a)lists.apple.com
We’re triggering a UI to create an embedded static document. Render calls will
show this document but the setup UI wants to know this information, especially
the frame’s aspect ratio.
Definitely a weird use case, but we really do want some sort of hint when we
open the UI.
> On Apr 25, 2023, at 1:27 PM, Darrin Cardani <dcardani(a)apple.com> wrote:
>
> Garrick,
>
> What are you trying to do? In general, knowing the project size isn’t too
> helpful. For example, in Motion, the user can turn on “Show Full View Area”
> and it will show areas outside of the project bounds.
>
> I don’t know of a way for a generator to get its width and height. (And keep
> in mind that the user can change them and they can be animated.)
>
> Even when using something like the Analysis API, you aren’t guaranteed that
> every frame is the same size. The input to your filter could be a particle
> system, or even a piece of footage that is being dynamically scaled or
> cropped, or has other filters applied to it which change size over time.
>
> Darrin
>
>> On Apr 25, 2023, at 1:03 PM, Garrick Meeker via Pro-apps-dev
>> <pro-apps-dev(a)lists.apple.com <mailto:pro-apps-dev@lists.apple.com>> wrote:
>>
>> Is there a trick in FxPlug4 to replace FxCustomParameterActionAPI_v2
>> -documentBounds? For reasons not worth going into, I need the maximum frame
>> size when handling a button press, sort of a calibration to set other
>> parameters. When applied as a filter I’m using the analysis API to just get
>> the dimensions of the current frame. Is there any way to access the Width /
>> Height parameters I see for generators in Motion? The best I can come up
>> with is a hidden point parameter.
>>
>> Other APIs have similar concepts to -documentBounds. In AE, there’s
>> in_data->width and in OpenFX the project dimensions can be queried.
>>
>> Any other suggestions?
>>
>> Thanks,
>> Garrick
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Pro-apps-dev mailing list (Pro-apps-dev(a)lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/pro-apps-dev/dcardani%40apple.com
>>
>> This email sent to dcardani(a)apple.com <mailto:dcardani@apple.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (Pro-apps-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.…
This email sent to site_archiver(a)lists.apple.com
site_archiver(a)lists.apple.com
Delivered-To: pro-apps-dev(a)lists.apple.com
Garrick,
What are you trying to do? In general, knowing the project size isn’t too
helpful. For example, in Motion, the user can turn on “Show Full View Area” and
it will show areas outside of the project bounds.
I don’t know of a way for a generator to get its width and height. (And keep in
mind that the user can change them and they can be animated.)
Even when using something like the Analysis API, you aren’t guaranteed that
every frame is the same size. The input to your filter could be a particle
system, or even a piece of footage that is being dynamically scaled or cropped,
or has other filters applied to it which change size over time.
Darrin
> On Apr 25, 2023, at 1:03 PM, Garrick Meeker via Pro-apps-dev
> <pro-apps-dev(a)lists.apple.com> wrote:
>
> Is there a trick in FxPlug4 to replace FxCustomParameterActionAPI_v2
> -documentBounds? For reasons not worth going into, I need the maximum frame
> size when handling a button press, sort of a calibration to set other
> parameters. When applied as a filter I’m using the analysis API to just get
> the dimensions of the current frame. Is there any way to access the Width /
> Height parameters I see for generators in Motion? The best I can come up
> with is a hidden point parameter.
>
> Other APIs have similar concepts to -documentBounds. In AE, there’s
> in_data->width and in OpenFX the project dimensions can be queried.
>
> Any other suggestions?
>
> Thanks,
> Garrick
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Pro-apps-dev mailing list (Pro-apps-dev(a)lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/pro-apps-dev/dcardani%40apple.com
>
> This email sent to dcardani(a)apple.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (Pro-apps-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.…
This email sent to site_archiver(a)lists.apple.com
site_archiver(a)lists.apple.com
Delivered-To: pro-apps-dev(a)lists.apple.com
Is there a trick in FxPlug4 to replace FxCustomParameterActionAPI_v2
-documentBounds? For reasons not worth going into, I need the maximum frame
size when handling a button press, sort of a calibration to set other
parameters. When applied as a filter I’m using the analysis API to just get
the dimensions of the current frame. Is there any way to access the Width /
Height parameters I see for generators in Motion? The best I can come up with
is a hidden point parameter.
Other APIs have similar concepts to -documentBounds. In AE, there’s
in_data->width and in OpenFX the project dimensions can be queried.
Any other suggestions?
Thanks,
Garrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (Pro-apps-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.…
This email sent to site_archiver(a)lists.apple.com