move images within lcd or jit.window?

May 2, 2013 at 1:14am

move images within lcd or jit.window?

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

#68041
May 2, 2013 at 5:03am

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)

#244463
May 2, 2013 at 11:54pm

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…

Attachments:
  1. window.rtf
#244464
May 3, 2013 at 12:06am

This will work a little better:

– Pasted Max Patch, click to expand. –
#244465
May 3, 2013 at 1:09am

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

#244466
May 3, 2013 at 1:22am

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

#244467
May 6, 2013 at 10:09pm

thanks nat

#244468

You must be logged in to reply to this topic.