I need to create prototype user interfaces for a large/old OpenGL app. I could naturally touch the main code, but is it possible to access the 3D views from outside (c/c# app most likely)?
I am looking for a way to augment the current views with new OpenGL stuff with easy/simple changes to current code. How about sending a RC handle (wglGetCurrentContext) from main renderer to external app whenever the main renderer has done it’s business (wglMakeCurrent(0,0);), then initializing rendering in external app using that and a DC (I should get a working DC by finding the right child window of the main app?)? Any ideas?
Could this be done without changing the original app?
(There are couple of old timers sitting on top of the original code, so getting permission for any changes may take time. That’s why I am looking for a shortcut… )