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: Best way to pass an OpenGL Texture to Quartz Composer



I've once tried +[CImage imageWithTexture:size:flipped:colorSpace:] to wrap a texture in a CIImage in order to pass to QCRenderer but I never really got it working right. The documentation says that you've got to use that CIImage in the same OpenGL context (or words to that effect) so that made me hopeful that it would be the most performant.

Maybe you'll have better luck with it.

~S

On May 2, 2008, at 11:58 PM, David Yamnitsky wrote:
I've read that document, but it doesn't give any clear way of passing an existing texture into a QCRenderer. It mentions only NSImage,CIImage,CGImage, and CVOpenGLBuffers. I could draw my texture into a CVOpenGLBuffer then pass that to QC, but that would certainly affect performance.
_______________________________________________
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

_______________________________________________
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: 
 >Re: Best way to pass an OpenGL Texture to Quartz Composer (From: David Yamnitsky <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.