» Image Cacher
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Image Cacher

plugin
Credits: vux (for texture output method, and for helping me with issues I had coding this).

about

Image cacher that loads a sequence of images into RAM.
Choose a file at the start of your sequence, and all the images in the sequence will be loaded into RAM (best watch your available RAM!)

Then you can select an index out of the sequence to be loaded as a texture.

Ideal for loading animation elements from Flash/other packages whilst avoiding the Flash Renderer and FileStream.

Maybe you've got other uses for it as well..

Big issue: not spreadable for now.

elliot

download

VVVV.Nodes_.ImageCache.zip
01.12.10 [05:13 UTC] by elliotwoods | 1097 downloads

u7angel 01/12/2010 - 13:05

can you add a helpfile, i just tried the plugin, setting a file but the plugin gets stuck at loading. loading pin keeps saying 1 and nothing happens. maybe i'm doing something wrong ?

u7angel 01/12/2010 - 13:11

my fault...copied the plugin to the plugins folder and chose a true imageseq. ...works now. cool thing :)

beyon 01/12/2010 - 18:05

Hmm this might be interesting as a starting point for my need of quick browsing through a bunch of highres images.

Right now it doesn't seem to deal with different sizes of textures very well, I first tried loading a set of large images with date as filename but since that didn't work as a sequence I then tried another set of smaller size images and then the resulting texture output was the first large image with the smaller ones replacing the top of the image.

I guess you don't recreate/resize the buffer when the filename pin changes?

sugokuGENKI 01/12/2010 - 19:54

@ beyon, ah yeah. very likely
thanks for the spot
i'm a little out of time to look into it right now and it's not obvious what's going wrong from inspection of the code. need to debug properly with a set of images.

The issue with mixing resolutions is that you have to recreate the texture for every different size. It's definitely possible though, and a quick check on the size would mean that you wouldn't do this when the resolutions are the same.

Will look into this next week after current project's over.

sugokuGENKI 01/12/2010 - 19:55

@u7angel, will dash a helpfile together when i can as well.
Thanks for trying!

viktor2 18/01/2011 - 11:43

loads only 100 images always?

sugokuGENKI 18/01/2011 - 13:34

is there a config pin to change?
I made a config pin on later versions to set a pre-allocated amount of memory.
I was using 120frames in general (4s @ 30fps).
I found that by pre-allocating the memory and keeping it the same throughout different sequence loads, then you avoid garbage collection.

This plugin's now stuck on a machine in korea so cant look right now.

viktor2 19/01/2011 - 14:43

no config pin on this version but useful anyway, thx!

anonymous user login

Shoutbox

~3d ago

joreg: The summer season of vvvv workshops at The NODE Institute is out: https://thenodeinstitute.org/ss24-vvvv-intermediates/

~3d ago

domj: If you happen to be in Prague, come join us at the Schema workshop on Thursday 25.4. :) https://www.facebook.com/events/395516526614988/?ti=ls

~15d ago

joreg: Postponed: Next vvvv beginner course starting April 29: https://thenodeinstitute.org/courses/vvvv-beginner-class-summer-2024/

~1mth ago

~2mth ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/