is there a significent different in the way an image is cached by
Quartz Composer when
using image importer vs image downloader?
I am trying to create compositions that animate cycling quickly
through all the images in a
folder. I change the image url to a series of image downloaders as
it progresses.
using "folder images" and image importer it renders very unevenly,
it can't keep an even
framerate and pauses for a long time on some images. this is true
even though the images
have already been loaded once and are all on the local harddisk.
if I drag in all the images using image importers and cycle them
through a multiplexer it will
render smoothly.
problem is how to have it automatically load images from folders
while still having good
performance?
Image Importer always loads the image in RAM / VRAM.
When using Image Downloader, make sure the "use cache" setting is
true and it will attempt to cache the downloaded images in RAM / VRAM
_but_ only up to a maximum number of Mb: if too many images are in
the cache, the oldest will get evicted. You're likely reaching the
threshold, therefore the framerate drop.
________________________________________________________
Pierre-Olivier Latour email@hidden
Quartz Composer Team Apple Computer, Inc.