| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Yowza! So I was retaining an CIImage * sourceImage on applicationDidFinishLaunching and set the sourceImage for one renderer, pass it to another, and also show it in a simple preview window which was also openGL. Id create my CIImage with emptyImage My patch, with a render timer at 60fps would output around 20/25 fps. Now, I have: - (void) applicationDidFinishLaunching:(NSNotification*)aNotification { <snip opengl setup and QC patch loading stuff> sourceImage = [[QCRenderer QCImage] retain]; // I have no clue if this is correct, but it seems to work. }
and within my renderers I simply call ofType: as you suggested, like so: sourceImage = [v001SourceRenderer valueForOutputKey:@"SourceOutput1" ofType:@"QCImage"]; My FPS now matches exactly that of QC. If I pump up my preferred rendering speed, I can get a solid 60FPS, which I cant even get QC to do. Changing two lines of code, to change my FPS that drastically is huge. Thanks! On Feb 8, 2008, at 12:47 PM, Troy Koelling wrote:
|
_______________________________________________ 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: | |
| >Fastest way to pass images from one QCComposition to another - QCPortImage? CVPixelBuffer? (From: vade <email@hidden>) | |
| >Re: Fastest way to pass images from one QCComposition to another - QCPortImage? CVPixelBuffer? (From: Troy Koelling <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.