Like toby said, your issue is the lazy evaluation.
And in your case it doesn't even help to force the evaluation of the
logic patch since the v002 movie player is not evaluated when its
index is not selected. It would still stick to true. One easy way to
force the evaluation of the movie player is to connect some of the
outputs to some consumer (pink) patch.
I tried connecting the Normalized Time output of the movie player to
the Enable of an Iterator with zero iterations and it seemed to work.
That should be a pretty cheap data sink. Something else might be more
efficient though, but that's the first thing that came into my mind.
-Matti
mansteri.com
On Aug 8, 2009, at 1:35 AM, lists @ tobyz wrote:
i don't have v002 movie player installed here, so can't say for
certain whats going on, but i think you're hitting something non-
obvious, critical to understanding QC, and something totally unrelated
to casts. if you did some tutorials first, if they're worth their salt
they would have come to this pretty early on.
qc only evaluates the patches it needs to in order to produce the
current frame. in your case, anything upstream of a multiplexer option
that isn't being used won't be evaluated. this means at the moment
your logic would go false, in effect the power gets cut to that logic
section as it isn't part of the rendered output any more, so it seems
to stick on true.
http://en.wikipedia.org/wiki/Quartz_Composer
"lazy evaluation"
toby
On 7 Aug 2009, at 10:29, thomas pachoud wrote:
Hi.
Thanks for your quick answer. My patch cord is turning right to
orange but, it seems that conditionnal keeps the index value which
match with his second value. Here is an example patch of what I'm
trying to do.
It select which image or video I'm playing during one scene. The
thing is to play movie from beginning when index gets movie sequence
number. So I test my index with a conditionnal, but when it goes
true, it stays true.
I probably making something wrong, but I didn't see what.
Thanks,
Thomas.
On Thu, Aug 6, 2009 at 11:12 PM, lists @ tobyz <[email protected]>
wrote:
just patch.
if you see your yellow patch cord turn orange, its performing a cast.
there are videos and tutorials around, i'd recommend doing a few.
On 6 Aug 2009, at 19:28, thomas pachoud wrote:
Hi.
I'm quite new to quartz and would like to use it for a future
theater performance. I'm actually trying to convert an index value
to a number in order to test it with a conditionnal box. How can I
do that? I look a bit around, but didn't sea anything.
Thanks,
Thomas.
--
Thomas Pachoud
ingénieur multimédia IMAC
www.creapach.fr
_______________________________________________
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/lists%40tobyz.net
This email sent to [email protected]
--
Thomas Pachoud
ingénieur multimédia IMAC
www.creapach.fr
<seq_dispatch.qtz> _______________________________________________
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/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 ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/maniinim%40ulapland.fi
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]