site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Hi Brian, - 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 (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/pschneider%40apple.com _______________________________________________ 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: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... 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? This email sent to pschneider@apple.com This email sent to site_archiver@lists.apple.com