Forums > Jitter

Rendering same context to 2 windows

Sep 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 with the same gl context name, anybody can give me any clue about how to achieve this?

Thanks in advance!

Sep 22 2011 | 4:00 pm

Using, you get a copy of your GL feed.

Sep 22 2011 | 7:36 pm

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

Sep 22 2011 | 11:01 pm

Very helpful, thanks Hugobox & dtr!!!

Following your advices I found this post with the solution:

Sep 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!):

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

Forums > Jitter