zoom and paning in jit.gl.pix?

mr.l's icon

Dear all,

I just dived first time into jit.gl.pix recently (and like it very much :)).
Can anyone help me out, building a (probably simple?) pix-patch, which can zoom in and out a texture (=scale) and also change position.
About position, I have already accomplished that, but with the same effect also happening in the"Gen Tutorial 2a/b", that the texture repeats (wraps), clamps or mirrors. I just want it to move like a videoplane. Possible?

Thanks, luke

Rob Ramirez's icon
Max Patch
Copy patch and select New From Clipboard in Max.

here's a pix that performs crop, scale, and offset:

mr.l's icon

Thanks! I think that gets me where I want :)