Re: Tracker zoom window
Re: Tracker zoom window
- Subject: Re: Tracker zoom window
- From: Paul Schneider <email@hidden>
- Date: Mon, 30 Apr 2007 00:24:37 -0400
Hi, Micah,
in FCP 6, you can use the FxTemporalImageAPI to get frames as long as
your filter is loaded in the filter viewer (the Filters tab with the
controls). So I think this should be possible. In FCP 5, the
FxTemporalImageAPI is only available during render.
Since your custom UI is just an NSView, you can cause it to redraw in
the usual way: by sending the view a [setNeedsDisplay: YES] message.
You'll be asked to re-render when the current time changes, as long
as your effect is applied at the new time; you could send your custom
UI a redraw message from your render method. Hopefully this will be
enough to implement some good feedback.
If you are triggering a redraw from your render method, you could
probably use the input image passed to your render method rather than
using the FxTemporalImageAPI (or the output image if you are a
generator). You might need to make a copy, since the images aren't
guaranteed to be valid after you render.
Hope that helps,
- Paul
On Apr 30, 2007, at 12:09 AM, Micah Sharp wrote:
Hey guys, sorry I missed out on the FxPlug meeting at NAB.
On one of my trips to the Motion and FCP pods I did notice
something interesting. I believe it was the Tracker generator in
Motion that had a small window in the effect parameter window that
zoomed in on an area where a tracker point was being placed. At
least I think it was something like this.
Is there any way we can implement this kind of UI in our FxPlugs?
Doing a zoom of a snap shot as Custom Ui should be straightforward
I think, but I believe the little window got updated whenever the
playhead moved as well, so I'm not sure how that works. That was
kind of neat and would be a cool parameter to have.
Thanks,
Micah Sharp
Red Giant Software
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
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