» 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 | 1090 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: Workshop on 07.12: An Introduction to FUSE Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-03-fuse-introduction/

~10d ago

joreg: Workshop on 30.11: Strategies for Sound Reactive Graphics: How to control everything through sound Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-02-how-to-control-everything-through-sound/

~20d ago

joreg: The vvvv winter semester course program is out, starting with a free course on November 23rd: https://thenodeinstitute.org/ws23-vvvv-intermediates

~20d ago

LCA: ravazque, this guy is working on this v3 since ever. check: https://nuitrack.com/

~1mth ago

~2mth ago

karistouf: done with vvvv beta :) https://vimeo.com/872242439

~2mth ago

joreg: Mapping festical call for projects: https://mappingfestival.com/en/call-for-projects

~3mth ago

joreg: Starting October 16: vvvv beginner class winter 23/24 Sign up here: https://thenodeinstitute.org/courses/ws23-vvvv-beginner-class/