I am playing a bit with QC compositions. My question would be - is it
possible to get 'bigger' image from QCRenderer than its size?
Situation:
* lets say I have QCRenderer created with size 640x480.
* loading built-in Leopard composition 'bulge'
* providing image as input of size 640x480.
* rendering composition
* getting output image from renderer.
As you know, Bulge composition is similar to CIFilter Bump. It extends
image. And I am wondering if it is possible to get whole, not cropped
by 640x480, image as output?
You cannot do that: the QCRenderer won't render bigger than the
destination OpenGL context it's attached to by definition.
However, if you can produce an image through a published output port
instead of rendering it, then this image will be at its native size.
In this case, create the QCRenderer as a pure processing one (since it
won't render anything but just output an image):
- (id) initWithComposition:(QCComposition*)composition colorSpace:
(CGColorSpaceRef)colorSpace;
Search in the QC examples for usage of such renderers.
Note that you can combine the 2 techniques: use a regular renderer to
render a low-res preview and use a published output port to get the
high-res image.
________________________________
Pierre-Olivier Latour - [EMAIL PROTECTED]
Technologist - Apple, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]