Monitor an external display jit.window with an in-patch jit.pwindow

paulclift's icon

Hello all,
This is probably a stupid question with an easy fix but I can't figure it out myself..... basically, I have a jit.window with multiple jit.gl objects sending data to it; I want to be able to monitor everything that is sent to it with an in-patch jit.pwindow. How can I do this?

Many thanks in advance for your help!

Max Patch
Copy patch and select New From Clipboard in Max.

Here is the patch:

dtr's icon

The quickest way is by using jit.gl.asyncread. If realtime performance is of concern you should consider keeping it in the GL realm, though your monitoring window will have to be a jit.window instead of a pwindow.

timtom's icon

if performance is an issue and you are on a mac,
you could make a seperate player standalone application and a seperate interface standalone application.
(they could communicate via osc)
send the player ouput texture with the external "jit.gl.syphonclient.mxo".
receive the texture with the external jit.gl.syphonserver.mxo at your interface application.

this method has a bit overhead, but was the most efficient way i figured out.
also it is not trivial to build a standalone with the syphon externals.
perhaps this will be more comfortable in future versions.

tt

paulclift's icon

Thanks for the responses guys! I have both methods up and running, will see if the payoff for performance is worth it with the standalone.