I’m trying to build a small particle system where the particle is actually a video. The video is a small animation, and I want each particle to loop the video, starting at a random framenum.
So my question is:
What’s the best way around this? I can’t really see any way of sharing the video between instances of the ofVideoPlayer class. Can this be done? Or would it be a better approach to export the video as an image sequence and then store these in a vector?
so you could create one image sequence, and each particle would have a different starting point and advance one frame every frame. This should be super fast if you make sure there is only one instance of the image sequence that is shared between all the particles