Cellwise temporal envelop follower in max9 jit.fx

Roger's icon

Hi All

I am looking for an alternative to jit.slide that can work with textures. the slab version does not create the same smoothness as jit.slide & I was hoping that a good alternative might be in Max 9

thanks

2K's icon

jit.fx.slide is probably the tp.slide shader (the "slab" version you mentioned). Haven't compared to that shader but if you dig in the forum you will find this gl.pix version. Maybe is what you are looking for.

Max Patch
Copy patch and select New From Clipboard in Max.

TFL's icon

You can check what is under the hood of define objects (like jit.fx) like so:

Enregistrement de l’écran 2024-11-04 à 09.49.28.mov


For jit.fx.slide, it's a v8 (javascript) script instantiating a jit.gl.slab with the tp.slide shader.

The main difference I can spot between tp.slide and the jit.gl.pix posted by 2T is that the slab version does the "sliding" operation per channel, while the pix version seems to do the same to all channels (although I'm not entirely sure how if (in1 > in2) is actually interpreted).

Rob Ramirez's icon

you can improve the "quality" of jit.fx.slide by converting your input texture to float32. We could consider exposing a type attribute to jit.fx for a future update.

Max Patch
Copy patch and select New From Clipboard in Max.