3D rendering to multiple windows with OpenGL

rpg.314

Veteran
I am writing an app that needs to render different stuff to different windows (not full screen). Windows are completely independent and share no data. Naturally, I want to use multiple threads to do it. Ie, each thread has some local data and renders to it's window, blissfully unaware of what other thread does in the other window. All manipulation is via keyboard/mouse input. IE, no toolbars etc. to bother about.

Can opengl be used in this manner?

Running multiple proccesess will alleviate the pain but will make some other things diificult in other places.

Which toolkit to build it should I use (since worrying about thread safety is always such a painful job)? Linux is the preferable platform (ie mandatory), but platform independence is always welcome.
 
In this situation I just roll my own X11 + OpenGL interface. Going X11 native without a "toolkit" is not hard at all. If you need some example code to get yourself up and running fast, send me a PM, and I will provide some...
 
Back
Top