Hi! I’m new in the Processing world, really new.
I was looking on the web to find a way to split the screen in 4 parts, but i can’t find a code that helps me do this. Now i am using (or try to ahah) the 3.3.6 Processing version. Could some one help me?
I would use the 4 part for display the same video, taken by a kinect v2.
Sorry for my bad english, if something it’s confuse, I can try to explane my self better. Thank you
You can use the following:
image(img, 0, 0, width/2, height/2);
image(img, width/2, 0, width/2, height/2);
image(img, 0, height/2, width/2, height/2);
image(img, width/2, height/2, width/2, height/2);
I tried and it says “img cannot be resolved to a variable”. Maybe I am doing something wrong
Could you be more specific, please?
It is because it supposes that you have a PImage
variable called img
in which you are storing the current frame of you kinect.
Oh, ok! Thank you!
Check this post: https://forum.processing.org/two/discussion/21990/get-depth-value-for-each-pixel#latest
Kf
Hi! I have another question. Could I split the screen in 4 coves, instead of 4 square? Like I said before, in every coves should be seen the image take from the kinect (the same image, replicate 4 time).
Thanks a lot for your time.