Help: videoplane or matrix for composite?
Hello,
I am not very experienced working with jitter yet, so this may be an easy question to answer :)
I need to have 3 or 4 movies in one window. I want to scale, move and crop each of it seperataly.
For croping and compositing 3 movies, I tried with jit.matrix (like in tutorial 16).
For the moving around and scaling part, I tried jit.gl.videoplane.
My question: can I crop (define start and end dimension, without squeezing the picture however) in jit.gl.videoplane also? And: how do I get 3 or 4 movies together in one window using videoplane (is there something like "layer"?)? Whats the best way to achieve optimal performance?
Thanks for help!
If i were you i would use 1 jit.gl.videoplane for each movie.
If you look in the help file for jit.gl.videoplane, there are controls for scaling and offsetting your texture. You can use position and scale commands to the jit.gl.videoplane to move it around in 3d space.
If you want to crop, you could control multiple parameters at the same time. Another way would be to crop your texture, using subdim, for example.
Here's an example, it's basically a stripped down version of videoplane with only the controls you want. The slider changes a few values to emulate your 'crop'. Good luck!
Thanx! That helps a lot.