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 flters inside a .qtz



Hi,

The processing path of my application is this:

CIImage -> QCRenderer/CIFilter -> CIImage -> Texture -> OpenGL calls
(morphing, warping) -> CImage -> QCRenderer/CIFilter -> display (GL)

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.




_______________________________________________
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 flters inside a .qtz (From: "Raphael Sebbe" <email@hidden>)
 >Re: Using flters inside a .qtz (From: Pierre-Olivier Latour <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.