I'm not 100% sure what you're trying to achieve, so bare with me... Are you trying to achieve only one index to render at a time, depending upon which is selected? If so, I think you'd make a conditional or math statement directly between the current index and the enable of your sprite. I don't think you need to use a sample and hold or js here, unless I'm misunderstanding the intent.
By changing the conditional type, you can get just a given index to render, all besides, all above or below, etc. -gt On Fri, Sep 30, 2011 at 12:53 PM, Andrea Cremaschi < cremaschiand...@gmail.com> wrote: > Ok, so smooth works inside an iterator.. > > I post a test patch (well, actually not nice as yours! :-) ) that uses two > iterators. Each one contains 10 flags that can be set using a selector (to > select the flag), a "new value" checkbox and a reset one. > One iterator use a S&H, the other a javascript.... > Well they both don't work.. I can't tell why. Maybe it is not > stateful/stateless issue, and it has to do with lazy evaluation?? > > a.c. > > > > Il giorno 30/set/2011, alle ore 15.39, George Toledo ha scritto: > > > > Here, I whipped up this example that will show an a/b of what source values > vs. smoothed values look like when rendered. If the green objects lag behind > the red, you know that smoothing is working in iterators in Lion. > > > On Fri, Sep 30, 2011 at 8:26 AM, George Toledo <gtole...@gmail.com> wrote: > >> I've stayed away from Lion because I really dislike it - so I'm unsure >> about whether or not that's buggy in Lion, but smooths were made to work >> inside of iterators in SL+, and definitely work OK in SL. If it's not >> performing like you expect, you might want to post a code sample to list. >> >> On Thu, Sep 29, 2011 at 6:13 PM, Andrea Cremaschi < >> andreacremas...@libero.it> wrote: >> >>> hi everybody, >>> >>> I am composing a patch that nests a Smooth in an Iterator. >>> After banging my head for some hours trying to debug, I discovered the >>> difference between stateful and stateless patches ( >>> http://lists.apple.com/archives/quartzcomposer-dev/2008/Apr/msg00126.html >>> ). >>> So, my questions are: >>> - what about Lion? Is this problem fixed or is it still with us? >>> - is a list of "stateful" patches available? I did not find it anywhere. >>> I suppose smooth, iterator, sample and hold will all behave weirdly in an >>> iterator. Which else? >>> - has somebody already written some workaround javascript patches? >>> >>> thanks! >>> >>> a.c. >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com >>> ) >>> Help/Unsubscribe/Update your Subscription: >>> >>> http://lists.apple.com/mailman/options/quartzcomposer-dev/gtoledo3%40gmail.com >>> >>> This email sent to gtole...@gmail.com >>> >>> >> > > <Smooth In Iterator.qtz> > > > >
pretty colored rows_maybe.qtz
Description: Binary data
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com