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: triggers and other good stuff



In pixelshox the javscript node could have it's outputs fed back into
it's inputs and it could read the time and initialise variables when
first executed.

You can still do that and no need to connect the outputs back to the inputs. Just use some supplementary outputs as global variables.


Note that you're not really supposed to build a state machine inside Quartz Composer though, but the sake of the explanation...

To detect first execution, it's trickier though: you can use an input that is connected to a Stop Watch and check for time == 0. Note that you cannot theoretically use Patch Time as there's no guarantee the first frame rendered will be at time 0.

________________________________________________________

Pierre-Olivier Latour						email@hidden
Quartz Composer Architect				Graphic & Imaging Team

_______________________________________________
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: 
 >triggers and other good stuff (From: "Roger Bolton" <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.