Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using QC Composition as Plugin



I'm wondering if there is a way to use a Quartz Composer composition as a plugin inside another program.

For example, suppose that there is a node for an image input, then some modules that process that data, and then a node for image output. Could my program 'import' that plugin, send it an image, and then get the image result at the output?

The QCRenderer seems to be close to what I need, but the problem is that I don't want to display the output -- just have the composition do some processing and feed me the result.

Possible? Sample Code?

Yes, this is possible: you can load a composition on a QCRenderer that actually performs no graphics rendering. In that case create a dummy OpenGL context for the QCRenderer that is not attached to a surface (i.e. NSView or screen) and it should work fine.


________________________________________________________
Pierre-Olivier Latour                            email@hidden
Quartz Composer Architect                Graphics & Imaging Team

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Using QC Composition as Plugin (From: Mark Coniglio <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.