Buffer for Jit.Matrix objects?
Hi,
I'm trying to find out if there's an object in max like 'buffer' for audio, but for a jitter matrix (or any kind of video format I guess, but preferably raw/uncompressed.)
So I can like send ( 4 planes of ARGB ) x however many frames into the buffer, and cycle through it as I would cycle through an audio sample with playback position, loop points, etc.
there is nothing which would be analogous to the audio buffer. you´d use jit.matrix, jit.matrixset and jit.movie and then you have to do most of the reading and writing functions yourself.
jit.matrixset or jit.gl.textureset.js are the equivalents. additionally a 3D matrix or a 3D jit.gl.texture could be used to implement what you describe. if using jit.gl.texture, the gl3 engine versions "slice" attribute makes this much simpler.
but for your case, jit.gl.textureset is probably the way to go (assuming you are interested in high performance video). search the File Browser for the example patch.
Thanks for that! Yes been getting into the openGL stuff... super powerful although I've barely scratched the surface.