Working on an image sequence tool, I want to preload so many images, then lazy load the rest, but I need it to happen very fast to preserve the high framerate.
Using ordinary ofImage.load('filename')
is blocking and slow, but when I use ofxThreadedImageLoader.loadFromDisk('filename')
I get the same type of blocking affect.
I’m calling loadFromDisk()
in update()
, and I’m wondering, is that my problem? Is there a different, preferred place to call it from?
The sequence of images/pixels/textures/ is too big to fit all in to memory. I’m using an SSD, a lot of memory and Quadro M5000 video cards.
Thanks for any help.