» 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 | 1073 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

~28d ago

manuel: very cool to generate matcap / cubemap for reflections https://cables.gl/p/pDCOCw

~29d ago

joreg: Join us for the 19th #vvvv meetup on November 11th: https://thenodeinstitute.org/event/19-worldwide-vvvv-meetup/

~1mth ago

~2mth ago

joreg: @zaid please ask this in the forum: https://discourse.vvvv.org/

~2mth ago

zaid: how can i detect a changing spread in gamma? the old workflow with a change and select node isnt possible. cheers

~2mth ago

joreg: @dawoof such a question is probably better asked in the forum or chat

~2mth ago

dawoof: hey vvvvers, What are yall's fav depth-camera for body tracking? (dancing in this case) eyeing the ZED but the delivery time is long