Recreating @boundmode 1 (clear) using jit.gl.pix

Dec 4, 2013 at 10:49am

Recreating @boundmode 1 (clear) using jit.gl.pix

This feels like it should be absurdly simple but I still have trouble wrapping my head around achieving certain things using gen. I’m trying to recreate the offset_x function of jit.rota in jit.gl.pix but the sample mode only allows for wrap, mirror and clamp. I want to recreate it to act like boundmode 1 in jit.rota wherein the image sliding along the x axis leaves only video black past the offset point. Any ideas? Attached is the code thus far (using jit.gl.hap).

<code>

– Pasted Max Patch, click to expand. –

</code>

#274719

You must be logged in to reply to this topic.