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



On 5/22/06, Pierre-Olivier Latour <email@hidden> wrote:
> The processing path of my application is this:
>
> CIImage -> QCRenderer/CIFilter -> CIImage -> Texture -> OpenGL calls
> (morphing, warping) -> CImage -> QCRenderer/CIFilter -> display (GL)

You can simplify this quite a bit: avoid unnecessary CIImage
roundtrips. Just use CVOpenGLBuffers to render GL stuff into and pass
them to QC.


Well I need to offer the use of CIFilters as well, and thus need CIImage. But I could have different paths whether QCRenderer are used or CIFilters are used.

> 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.

Look at those sample codes for close integration of QC with OpenGL
http://developer.apple.com/samplecode/QuartzComposerTexture/
QuartzComposerTexture.html
http://developer.apple.com/samplecode/QuartzComposer_WWDC_QCTV/
QuartzComposer_WWDC_QCTV.html

> Are the NSImage output always created by the QCRenderer, or only when
> requested ? Might influence performance-wise.

On request

Thanks for the info, I'll look at it.

Raphael
_______________________________________________
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>)
 >Re: 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.