You can use some math inside your iterator to "re-order" the current
index dynamically:
n' = f(n) where n is the current index, and n' the modified current
index to take into account back to front rendering
f() might not be so hard to figure depending on what you do
Inside the iterator, between the Iterator variables patch and its
current index output and the other patch inputs it's connected to,
insert f()
For instance, if the index goes (0,1,2) after re-ordering you would
have say (2,0,1) so your iterations actually happen in that new order.
On Jul 13, 2007, at 11:22 AM, Roger Bolton wrote:
On 13 Jul 2007, at 19:18, Kevin Quennesson wrote:
You can return an array with javascript which will contain all your
sprite parameters ordered by depth (you do the ordering in the
javascript).
You then draw the sprites via an iterator.
ah ok, that will work but as I've already got two layers of nested
iterators it's going to take some brain
numbing reworking of the composition structure
thanks
Roger
CoreMelt
_______________________________________________
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