Re: Reference Image parameters in a FxGenerator
Re: Reference Image parameters in a FxGenerator
- Subject: Re: Reference Image parameters in a FxGenerator
- From: Paul Schneider <email@hidden>
- Date: Mon, 23 Mar 2009 15:10:52 -0500
Hi Brian,
What you're doing should work. Can you be more specific about how the
request fails? Does the routine return NO, or does it return a nil
bitmap, or crash? Does the failure occurs in Motion, in FCP, or in both?
- Paul
On Mar 23, 2009, at 1:00 PM, Brian Gardner wrote:
Just as a sanity check....
I'm writing an FxGenerator plugin for FCP/Motion.
It has a reference image parameter, and the parameter shows up okay.
I can assign a source video to the parameter okay in FCP & Motion.
But, when I try to access the image in renderOutput,
the request fails.
Can I access a reference image in an FxGenerator?
(Or is that forbidden)
If I can, do I use the same parmsApi request as I
would in a Filter or Transition type plugin...
or is there something different required in a Generator plugin?
-- Brian
PS: Small code clippette looks like:
FxBitmap * controlImageMap;
double offsetX = 0, offsetY = 0;
BOOL isControlImageAssigned =
[parmsApi getBitmap:&controlImageMap
layerOffsetX:&offsetX
layerOffsetY:&offsetY
requestInfo:renderInfo
fromParm:kControlImageParamID
atTime:renderInfo.frame];
_______________________________________________
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