I'm trying to draw the same 3D scene but output it to different windows (for multiple projector output of a projection mapping application).
I've looked into using the examples/events/multiWindowOneAppExample example from OF 0.9.8 and adapting it to draw a simple test scene (simply an ofBoxPrimitive rednered in the centre of each output window)
The app launches and renders fine when drawing standard 2D graphics to each screen but the ofGLProgrammableRenderer throws an exception when trying to draw a mesh/geometry.
The exception is thrown at line 235:
I've tried it both sharing the gl context between windows and without.
This is using the multiWindowOneAppExample - I was hoping to be able to share the data and setup in the same app but draw it to multiple windows.
Is it possible to draw the same 3d primitive to different windows? Hopefully I'm just doing something wrong in the setup!