Just thought I’d post this in case anyone found it interesting or useful. Searched the forums and didn’t find anything like it so created on myself. Load in an image, enable the toggles and watch an endless ken burns effect :)
It’s quite simple, and could really do with some easing (not too sure of how to implement that yet) and probably a bit more work on aspect ratios!
Ok, I’ve been using this effect within another project and experimenting a bit, and now I’m stuck. Everytime I load a new image into it, if it’s large and takes a noticeable amount of time to decode, the whole effect just freezes until it’s finished loading. Is there any thing I can do to fix this?
Quick update, I’ve tried changing the ‘read’ message to an ‘asyncread’, which does help significantly, but it doesn’t quite solve the problem. I have also added tried placing the [jit.qt.movie] in another top level patcher (which I assume means a new thread) and sending the matrix name to the [jit.gl.texture] thinking this would completely resolve the issue. However no such luck :(
Any good ideas on how to optimise a patch like that (I effectively have 5 instances of the original patch attached)? Or do I just have to preload all the content I need before running?