Hi Toby!

Nice. I use that one a lot, too.
You can use the same setup for any input that accepts a boolean value, in fact. Any value greater than 0 is automatically cast as a boolean 'true' when collnected to a boolean-type input, any value equal-to or less-than 0 is cast as a boolean 'false'. Quite handy in lots of different scenarios.


a|x



On 28 Apr 2010, at 15:28, lists @ tobyz wrote:

I have a macro i use all the time for this, fade in this case. Take Chris's smooth patch, and wire to the Enable input of a Billboard/ Sprite via a Ceil value, and wire to the Colour input via Alpha RGB.

<Screen shot 2010-04-28 at 15.25.23.png>


On 27 Apr 2010, at 01:59, Christopher Wright wrote:

Others may have more clever ways of handling this (which I'd like to
hear, I'm only a few weeks into QC), but I would write a JavaScript
patch that keeps enable/disable and position state, and feed that
position info into a billboard or sprite patch. I often use the
PatchTime as a clock to drive my JavaScript.


A simpler solution may be to use the Smooth patch -- it can give you a nice transition in/out without needing to track state yourself via javascript. Mathematical Expression can be used to evaluate the condition and provide the destination (i.e. "destinationX * (condition ? 1 : 0)"), allowing a transition to any point. Drive the smooth patch with the Mathematical Expression output, and you're in business.

(I've gone through the whole "JS Hammer" phase myself, so I know entirely what you're talking about :)

--
Christopher Wright
[email protected]



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer- [email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/lists% 40tobyz.net

This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer- [email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/the_voder% 40yahoo.co.uk

This email sent to [email protected]

_______________________________________________
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]

Reply via email to