theres a recursive javascript hack around this problem....

http://www.memo.tv/quartz_composer_3d_carousel_and_loading_images_within_an_iterator

(i originally saw it at http://himiko.dnsalias.net/twiki/bin/view/Main/QuartzComposer#Reading_Images_from_a_directory )


On 13 Aug 2008, at 12:06, joris de jong wrote:

Hi everybody!

People (including myself) are having trouble with an image downloader in an iterator. The idea is to have each iteration display a different image. The outcome is that each iteration displays the same image. As far as I can tell the last solution offered on the list is to have a seperate image downloader for each image in the folder, feed this into a multiplexer, and then have each iteration take its image from the multiplexer. Works okay if you have 20 or so images, but becomes tedious when you're working with 200+ images.

My solution is to have an interpolation patch go through the structure, where each index member gets fed into a demultiplexer, whose index comes from that same interpolation patch. This way every image winds up in it's own output port of the demultiplexer. Each output is then fed into its corresponding input of a multiplexer. This multiplexer has its index controlled by the iterator, and thus feeds different images to each iteration. Please see the attached example if that didn't make any sense. You'll need to change the folder location to somewhere on your own drive of course.

You still have to connect every output of the demultiplexer to the corresponding input of the multiplexer, which is tedious and mindnumbing (so I guess it's the QC equivalent of rotoscoping) , but even with 200+ images this is done relatively quickly.

This is the fastest workaround I've discovered so far. If anyone has a quicker way, please let me know, because I use this technique a lot.

Joris

Het beste van Windows, nu ook online. Deel jouw wereld met Windows Live. Download nu. <iterator_imagedownloader.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/memo%40memo.tv

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]

Reply via email to