Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Base random order

Still a little green? Ask your beginner's questions here

Base random order

Postby loremipsum » Fri Sep 13, 2019 3:41 am

Hello to all,
I have question about "Base_random_order.toe" file question.
I am planing to use this in comp to trigger some movie files.

However when it shuffles the list, sometimes the first column comes wiht same previous shuffling result. Because of that movie file is not playing.

How can I overcome this situation?
Basicly, whatever the shuffle result I want it to trigger my movie in top..
Thanks,
Attachments
base_random_order.2.toe
(4.79 KiB) Downloaded 1 time
loremipsum
 
Posts: 8
Joined: Wed Aug 21, 2019 10:54 am

Re: Base random order

Postby nettoyeur » Fri Sep 13, 2019 10:26 am

Ha, yes usually when people need random it actually needs to be a little less random for good results ;-)

You can also use a Sort DAT and set its order to 'random'.
Here's an example which places a random seed in the Sort DAT every click.
Also it checks if the top result is the same as the one currently loaded in the Movie File In TOP, if so it loads the second result instead, and then pulses the cue parameter.
Attachments
base_random_order_v2.tox
(1.96 KiB) Downloaded 1 time
Idzard Kwadijk | freelance TouchDesigner consultant | IdzArd.com
Checkout ChopChopChop.org - the TouchDesigner marketplace!
nettoyeur
 
Posts: 1171
Joined: Mon Oct 15, 2012 12:00 pm
Location: Amsterdam, The Netherlands

Re: Base random order

Postby loremipsum » Fri Sep 13, 2019 3:20 pm

nettoyeur wrote:Ha, yes usually when people need random it actually needs to be a little less random for good results ;-)

You can also use a Sort DAT and set its order to 'random'.
Here's an example which places a random seed in the Sort DAT every click.
Also it checks if the top result is the same as the one currently loaded in the Movie File In TOP, if so it loads the second result instead, and then pulses the cue parameter.


Hey thanks for the file and also Sort DAT info.

This made my day! Now I can move into further problems :)

Bests,
loremipsum
 
Posts: 8
Joined: Wed Aug 21, 2019 10:54 am


Return to Beginners

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 22 guests