Is there any way to have a pwindow and a window share content and controls?


    Sep 21 2014 | 9:58 pm
    I'd like to set up some projection mapping and ideally the user could choose to pin the corners on their screen OR on the projected output window. So you could click/drag cornerpin corners in either window and it would update the other as well

    • Sep 22 2014 | 9:43 am
      Hi prismspecs
      Have you had a look @ jit.gl.cornerpin ? If that doesn't work, the right outlet of jit.window will output the mouse's coords w. click report of 0-1
      print: mouse 136 180 1 0 0 0 0 0
      hope this helps
      phiol
    • Sep 22 2014 | 6:34 pm
      Thanks for the reply. I am currently using cornerpin, but it only works in one single window, as far as I know, and I'd like to have the option for a second window (or pwindow, in this case) to manipulate those corners with the mouse. Anything done to the corners in one window would of course also happen in the other. Jitter won't allow me to have two windows with the same name, however.
    • Sep 22 2014 | 7:26 pm
      Hello, I would use 2 patches with each a jit.gl.cornerpin @mousereport 1 @hover 1 ask for getstate each time a corner (dragging=1) is used and at the dumpout outlet select the messages concerning upper L,R lower L,R and update the one who wasn't used. It's a bit hard logic (gate the getstate message from the other when one is used ) but should work HTH Hubert
    • Sep 22 2014 | 7:58 pm
      That makes sense, thank you!
    • Sep 22 2014 | 8:02 pm
      poum poum poum poum john lee hooker it works on my computer... Cheers
    • Sep 22 2014 | 11:27 pm
      did you mean something like this ?