Forums > Jitter

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

January 5, 2013 | 3:42 am

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. –


dtr
January 5, 2013 | 9:50 am

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


January 5, 2013 | 11:50 am

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


January 9, 2013 | 9:06 pm

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.


Viewing 4 posts - 1 through 4 (of 4 total)