Face Off (Quartz Builder Interaction patch App Test) (Composition by gtoledo3)

Author: gtoledo3
License: (unknown)
Date: 2009.09.19
Compatibility: 10.6
Categories:
Required plugins:
(none)

This is a simple test app. The basic idea is this:

-Make 4 points on the viewer by clicking with a trackpad (haven't tested with mouse), in a clockwise or counterclockwise manner.

-"Grab" the area in between the 4 points (this is where the new SL interaction patch is implemented).

-Move it out of the way to reveal a backing scene.

-Put two fingers to trackpad and click to clear points and reset.

The one caveat in operation of this is that the next time you select four points after your initial run, the x/y offset of the Interaction patch "window cutout" will be the same as the last run. This being the case, the idea is to return the "piece" back to cutout window before clearing points.

The cutout area will track to motion, more or less.

This is a 10.6 app, and will not work in Leopard, 10.5.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

leegrosbauer's picture
Re: Face Off (Quartz Builder Interaction patch App Test) ...

Slick! A bit sluggish, but probably to be expected. I could have fun with this!

With both Face Off and Motion Tracking CI Dissolve, I lose the capability to create more than one dot after several runs. The designated Secondary Button (for me that's Right Button on my mighty mouse) appropriately clears the dots every time.

leegrosbauer's picture
Re: Face Off (Quartz Builder Interaction patch App Test) ...

Could that cut-out technique be assigned to an image element something like the blob in Blobber Flow? As I mentioned elsewhere, I can glide that blob around with a single control point in a third party application. Probably not easily, I suspect. I seem to remember earlier discussion about the need to manually assign points to stuff like this.

gtoledo3's picture
Re: Face Off (Quartz Builder Interaction patch App Test) ...

Hmmm, yeahhh. I wasn't sure how this would perform on all systems... hence the app tests caveat :)

Good idea about the blob, though I don't think I would go the whole extrusion route. In fact... a loooooong time ago I did something similar with that basic idea of a blob instead of a cutout, but so that you could "erase" over yourself.

Thanks for the feedback, I'm going to tweak this a bit more.

Lango's picture
Re: Face Off (Quartz Builder Interaction patch App Test) ...

I really like this. Nice work gtoledo3

leegrosbauer's picture
Re: Face Off (Quartz Builder Interaction patch App Test) ...

Could you discuss the process involved in selecting and extracting the imagery bounded by the points? Could this technique be somehow integrated with the imagery bounded in Selection Rectangle.qtz from the Conceptual composition examples of the Mac OS X Reference Library in the Developer Connection pages which you recently directed us to?

I ask because I would very much like to attempt to assemble a Ken Burns style image panning tool. Using a modified version of Selection Rectangle.qtz, I can manipulate the X/Y boundary co-ordinates with a single position point in CamTwist and I can hold them as defined with a boolean toggle, but I now need to know how to select and extract the bounded imagery for further manipulation. Do you think this might be possible by incorporating some part of your work in Face Off?

What I'm thinking is perhaps to assemble a dual version of Selection Rectangle.qtz and try to figure out how to zoom between the bounded region in each? Or perhaps my old friend Spooky might assist between completely separate compositions? I haven't a clue if I'm on the right track here, but I thought I would inquire nonetheless. An image panning tool such as this could be very useful. Any thoughts?

PreviewAttachmentSize
Selection Rectangles.jpg
Selection Rectangles.jpg131.09 KB

gtoledo3's picture
Re: Face Off (Quartz Builder Interaction patch App Test) ...

Sure! It's towards the end of my night... I'll take a look at this tomorrow, so I can make sure to explain it clearly. It's all in the masking and compositing of the layers to get this effect going. There is only one "slice" layer with this setup, so when you cut out multiple boxes you can't have them overlap, they just float around at the same distance from each other, assuming I'm rendering to a normal sprite or billboard.

I remember that there is a good Ken Burns effect qtz lurking out there somewhere. Maybe in iMovie (?).

leegrosbauer's picture
Re: Face Off (Quartz Builder Interaction patch App Test) ...

No hurry. I'm looking around in iMovie now. Hard to believe I never looked at this stuff before, but it's clear I hadn't. Lots of useful compositions to study in there, for sure. Thanks!

itsthejayj's picture
Re: Face Off (Quartz Builder Interaction patch App Test) ...

Guys did anyone create a ken burn example .qtz, the image crop patch seem to be very expensive. Did any one build an coreimage patch? could i possibly have a look at it?

leegrosbauer's picture
Re: Face Off (Quartz Builder Interaction patch App Test) ...

I never did find anything resembling the ken burns effect, no. Still up for getting one if one should turn up, however. :-)