Forums > Jitter

Rendering same context to 2 windows

September 21, 2011 | 4:57 pm

I will be performing soon in a place where I won’t be able to see the screen on which I am projecting my video. I would need to have a window in my patch which allows me to see the video I am improvising, while still sending the video out to the beamer.

Since it is not possible to have 2 jit.windows with the same gl context name, anybody can give me any clue about how to achieve this?

Thanks in advance!


September 22, 2011 | 4:00 pm

Using jit.gl.asyncread, you get a copy of your GL feed.



dtr
September 22, 2011 | 7:36 pm

or render the scene to a texture and have a 2nd shared render context for the 2nd window


September 22, 2011 | 11:01 pm

Very helpful, thanks Hugobox & dtr!!!

Following your advices I found this post with the solution:

http://cycling74.com/forums/topic.php?id=33902



dtr
September 23, 2011 | 7:42 am

yes there s a bunch of different approaches to be found in the forum. also, Andrew Benson has an example in his jitter recipes (a must for anyone delving into the jitter GL realm!): http://cycling74.com/2010/9/13/jitter-recipes-book-3/


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