The user should be able to use his own Quartz Composition (or a
CIFilter), either before my opengl calls or after. So I guess I must
render QC output into a pixel buffer directly, although it would have
been easier with all CIImage approach.
Are the NSImage output always created by the QCRenderer, or only when
requested ? Might influence performance-wise.
Raphael
On 5/22/06, Pierre-Olivier Latour <email@hidden> wrote:
> Is it possible to use the filters inside a .qtz file without rendering
> (no use of QCRenderer renderAtTime:) ?
>
> What I'd like to have is a sequence of filters in a .qtz, lets say
> Gaussian, followed by (connected to the input of) Sepia, publishing
> the first filter input and last filter output. Then open the .qtz as a
> QCRenderer and feed the first filter a CIImage and get the output
> CIImage for rendering with CIContext's drawImage:
You need to render at least one frame in the QCRenderer just to
"execute" the composition and produce outputs.
The QCRenderer will use CIImages internally but output a NSImage for
compatibility with AppKit, which might be inefficient in your case
when converting back to a CIImage.
What exactly are you trying to achieve?
________________________________________________________
Pierre-Olivier Latour email@hidden
Quartz Composer Team Apple Computer, Inc.