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: Procedurally connecting multiple patches within Cocoa App



I wonder if you could create a composition with the composition loader in it and recursively load that composition in order to achieve this dynamic patching.

-David

On Nov 17, 2007 3:04 PM, vade <email@hidden> wrote:
Hi Chris, thanks for the prompt response - all clear.

BTW, what I mean was that I do not need to dynamically patch *within a
composition*, but between the inputs and outputs of various stand
alone compositions, to one output. Basically, if I have a few
compositions I want to dynamically load off of disk that each has an
inputImage, outputImage, and some inputs for controls. Id just like to
be able to connect them, perhaps serially, perhaps in parallel to some
mixers, etc etc. Thus my procedural connection question. :)

Thanks!


On Nov 17, 2007, at 3:55 PM, Christopher Wright wrote:

>> This leads me to believe that each composition I have will require
>> its own renderer? However, in QCTV, each patch loaded has a
>> billboard or a sprite, or, in other words, is an 'output' patch.
>> Does each and every composition, regardless of whether it is a
>> final output (destination patch?) require its own QCRenderer? If I
>> have a QC patch with has a valueForOutputKey of Type:"QTImage", ,
>> perhaps a patch with a CIKernal, etc, or a patch with a Render to
>> Image, does it require its own QCRenderer?
>
> You are correct, each part requires its own QCRenderer.  Your
> original question was asking if there was a procedural way to
> connect patches within compositions, which isn't possible with the
> public API.  The closest supported approximation is thus connecting
> the outputs of QCRenderers to the inputs of other QCRenderers.
>
> --
> [ christopher wright ]
> email@hidden
> http://softpixel.com/~cwright/

 _______________________________________________
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: 
 >Procedurally connecting multiple patches within Cocoa App (From: vade <email@hidden>)
 >Re: Procedurally connecting multiple patches within Cocoa App (From: Troy Koelling <email@hidden>)
 >Re: Procedurally connecting multiple patches within Cocoa App (From: vade <email@hidden>)
 >Re: Procedurally connecting multiple patches within Cocoa App (From: Troy Koelling <email@hidden>)
 >Re: Procedurally connecting multiple patches within Cocoa App (From: vade <email@hidden>)
 >Re: Procedurally connecting multiple patches within Cocoa App (From: Christopher Wright <email@hidden>)
 >Re: Procedurally connecting multiple patches within Cocoa App (From: vade <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.