How to apply CoreImage effects to windows?
How to apply CoreImage effects to windows?
- Subject: How to apply CoreImage effects to windows?
- From: Oleg Krupnov <email@hidden>
- Date: Fri, 20 Feb 2009 10:12:29 +0200
CoreImage is great for creating effects for images, but I wonder if
there's a smart way of applying those effect directly to
views/windows? For example, can I make my window appear blurred, or
bloomed, so that all child controls also appear blurred/bloomed, but
still keep working. I mean, as I hover and click the child controls,
all their interactive states and animations should be drawn with the
blurred/bloomed effect. I've seen an example of this: HUD windows in
Pixelmator blur windows behind them dynamically, so I assume it's
possible, but have no idea how to do this.
One of the first solutions that comes to mind is to create a
screenshot of the window, apply the CI effect to it, and show it on
top the window, but it's not going to change dynamically with the
interactions. Also, there are going to be transparency issues with
this approach if the window is translucent.
Another related question is how the ripple effect of the Dashboard
works. I have noticed that when the windows behind the ripples are
showing some animation (or video), they keep showing it dynamically
under the ripples as they are going! How is this possible? The
CoreImage only work with static images (or QT video, but that's not
the case), I have no idea how they achieved this effect with the
source image being dynamically updated.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden