Hi Chris, thanks for the tips. I tried both the sync and async modes and neither of them work correctly. It hadnt occured to me to try the Movie Loader to load images, and much to my delight it worked correctly! Though one downside to that is the framerate is UNBELIEVABLY slow. About 2 fps with only 6 640x480 images on screen with hardly any processing (solid 60fps when using the image downloader) - so as it is it is quite unsuable :( . I tried a few different Movie Loader settings but still 2fps... no idea why :S

I also had a look at the kineme plugin, but am getting an exception (details below)... i'm running leopard, dunno if thats why

0x93c4ec12: GFException
0x93c50855: GFThrowException
0x93c4edab: _ivarToPortClass
0x93b9b3a3: -[GFNodeClassDescription initWithNodeClass:]
0x93b9b0f4: +[GFNode initialize]
0x93b9baee: +[QCPatch initialize]
0x93d5ab78: _class_initialize
0x93d594f9: _class_lookupMethodAndLoadCache
0x93d69736: objc_msgSend
0x93b9d62c: -[GFNodeManager(PlugIns) loadPlugInAtPath:]
0x93b9d325: -[QCNodeManager loadPlugInAtPath:]
0x93b9d8bf: -[GFNodeManager(PlugIns) loadPlugInsInFolder:withExtensions:] 0x93b9d75b: -[GFNodeManager(PlugIns) loadPlugInsInLibrary:withExtensions:]
0x93b9d6d3: +[QCPatch(Registry) loadPlugInsInLibrary:]
0x93cb1bdb: _RegisterPatches
0x93b9bc7c: +[QCPatch(Registry) patchManager]
0x00004710
0x00004387
0x000041bd
0x0000fec5
0x96a13bda: _nsnote_callback
0x95df89da: __CFXNotificationPost
0x95df8cb3: _CFXNotificationPostNotification
0x96a10fd0: -[NSNotificationCenter postNotificationName:object:userInfo:]
0x96a1a668: -[NSNotificationCenter postNotificationName:object:]
0x9525d664: -[NSWindow becomeMainWindow]
0x9525bec5: -[NSWindow _changeKeyAndMainLimitedOK:]
0x9525bb81: -[NSWindow makeKeyWindow]
0x9525babd: -[NSWindow makeKeyAndOrderFront:]
0x951dc537: -[NSDocument showWindows]
0x951da7fd: -[NSDocumentController openUntitledDocumentAndDisplay:error:]
0x00005b9e
0x0001ee36
0x952a7e56: -[NSApplication sendAction:to:from:]
0x953567cc: -[NSMenu performActionForItemAtIndex:]
0x953564d1: -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
0x95356157: -[NSMenu performKeyEquivalent:]
0x953549fd: -[NSApplication _handleKeyEquivalent:]
0x95271b36: -[NSApplication sendEvent:]
0x0000e475
0x951cf0f9: -[NSApplication run]




Memo (Mehmet S. Akten)

www.memo.tv

[EMAIL PROTECTED]



On 17 May 2008, at 23:34, Christopher Wright wrote:

Hi All, i want to create an XML based coverflow type app and have run into a problem. I'm loading the XML and running an iterator on structure members. If my XML contains a list of quicktime movies, and in the iterator i use the Movie Loader patch reading in the URL from the current structure, all works perfectly. But if my xml contains a list of Jpegs, and in the iterator I use the Image Downloader patch on screen i see the first image in the place of all images!

I render the URL I read from the structure (the same string being sent to the Image Downloader patch) on each image and they are correct (e.g. each one has its unique image filename) - but the Image Downloader patch is always outputting the first image! I've played around with the cache settings and other settings I could see but to no avail. I'm beginning to think this is a bug. Has anyone encountered this? Or better still - found a solution!?

I think there is a known problem with Image Downloader in Iterators -- lots of patches misbehave in those. Try setting the Image Downloader to synchronous (normally it's asynchronous, which will definitely generate incorrect output). If that doesn't work (I don't think it does, but I don't remember off the top of my head), you can try using the Movie Loader patch (it loads images too). Kineme.net also has a blocking image downloader plugin that may work as you're wanting.

--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/


 _______________________________________________
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