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

Jan 5, 2013 at 3:42am

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

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!

Here is the patch:

– Pasted Max Patch, click to expand. –
#65922
Jan 5, 2013 at 9:50am

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.

This could give some inspiration: http://cycling74.com/forums/topic.php?id=38151

#237417
Jan 5, 2013 at 11:50am

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

#237418
Jan 9, 2013 at 9:06pm

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.

#237419

You must be logged in to reply to this topic.