move images within lcd or jit.window?

serenwen's icon

so guys I need to move an image (.jpeg, stored on my computer) in real time: i'm sending stream of numbers for the coordinates x y and the depth (the image is gonna be smaller or bigger). What do you me suggest to use, the lcd object or the jit.window?
I've been trying doing something with lcd but i could just menage to have some defined values with the message objects (and in my mind I need to work with number boxes).
Any idea?
Thanks

Nat's icon

jit.qt.movie to load your image
jit.gl.videoplane to move/scale the image

(you'll also need a jit.gl.render to render to a jit.window)

serenwen's icon

thanks Nat, that is what I was trying to do but I think I've messed up something because I can't see anything in the window...

5539.window.rtf
rtf
Nat's icon
Max Patch
Copy patch and select New From Clipboard in Max.

This will work a little better:

serenwen's icon

thanks Nat this is working better.. but what if I need the image to be smaller (not changing the y axes just smaller)?

Nat's icon

You need to change the first 2 parameters of the scale at the same time, you could do this with the pak object.

serenwen's icon

thanks nat