plugin
Credits: vux (for texture output method, and for helping me with issues I had coding this).
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
anonymous user login
~2mth ago
~3mth ago
~3mth ago
~3mth ago
~3mth ago
~3mth ago
~3mth ago
~3mth ago
~3mth ago
~4mth ago
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 ?
my fault...copied the plugin to the plugins folder and chose a true imageseq. ...works now. cool thing :)
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?
@ 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.
@u7angel, will dash a helpfile together when i can as well.
Thanks for trying!
loads only 100 images always?
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.
no config pin on this version but useful anyway, thx!