getting two jit.window to go fullscreen on two projectors on startup

mima's icon

Hey Hey hey

I am creating a touch screen installation using Max/Msp. When I execute the patch I the two jit.windows to go fullscreen on 2 projectors while having the interface on another screen.

How do i get the jit.windows to start fullscreen automatically on each projectors?

Another question: What kind of hardware setup would you guys suggest?

Best regards
Mikkel

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

Ypu should use a matrox dual head to go for your two projectors.
In jitter all you have to do is to tell jit.window the position and the size of the two other screen.
Check this simple patch :

Pierre

lyve forms's icon

hi pierre and everyone, i find this is super helpful, and very glad it has been shared.
i would love to use it for a 2 projector setup, as well, but somehow fail to implement it in my patch.
how are the 'sel 0 1' objects triggered? tried to use a button, but... sorry for the stupid question

Rob Ramirez's icon

check out the jit.displays object which will allow you to query the coordinates of all connected displays, and use those for the @rect attribute of jit.window / jit.world

lyve forms's icon

works, thank you so much!

2cams2wins_RR32.maxpat
Max Patch
lyve forms's icon

with this same patch i got a problem now. i'm using a HDMI now, and the positions that are read for both projectors are exactly the same now - and they don't get extended to the projectors at all anymore. i don't know where my mistake lies, but have to test & perform tonight & tomorrow :(
any help highly appreciated

Rob Ramirez's icon

do you have mirroring enabled in your display preferences? you should also disable "Displays have Separate Spaces" in the Mission control system prefs (if on a Mac)

Roman Thilenius's icon

use Pwindow, make patcher window size to range across both screens.

lyve forms's icon

@rob: thanks for your response again, both options seem to be active - really no idea where the change is.
have updated to sierra meanwhile, prob not a good idea, no change either (so far), just an info :))

@roman: really nice idea for a workaround, will test :)

Rob Ramirez's icon

both mirroring and "displays have separate spaces" should be disabled, not enabled.

lyve forms's icon

hahaha, nice misunderstanding with almost comic character.
thanks for your guidance, rob, it works now - no idea why settings switched back with cable upgrade.
need to do quite some homework, i guess

Julien Bayle's icon

jit.world doesn't seem to have border attributes. anything I miss here?

Julien Bayle's icon

sending the message (sendwindow border 0) does it.
sorry.