Delay for a Texture

Sabina's icon

Hello,

I need a delay for a texture.
I do not want to use javascript or external files of any kind for this, only Max, or gen.
Any suggestions, where can I start looking for?

Thanks guys, cheers.

Sabina.

Jean-Francois Charles's icon

Sure. Help -> Reference -> Search for "delay", you'll get lots of interesting things in the Documentation tab.
Beyond that, you'll need to be more precise with your question. I'm not even sure you're talking about a musical texture or a graphics texture.

Rob Ramirez's icon

I'm assuming you mean video-texture delay. A delay is simply a buffer, sized to the amount of the delay. The built-in gl-texture delay that ships with Max is called jit.gl.textureset.js, and is designed to model the exact behavior of the jit.matrixset object, but for textures. therefore you can use the same patch logic in the jit.matrixset help file tab "video-delay" but substituting with [ js jit.gl.textureset.js ] and substituting "outputmatrix" message with "outputtexture"

if you don't want to use JS then you'll have to reconstruct the elements of the JS with patching, likely utilizing poly~ to manage the buffer frames, but JS is a much better tool for this IMO, and the work is already done.

Rob Ramirez's icon

for an even simpler built-in tool, use the vizzie module DELAYR