i am doing some preliminary research for a master's thesis project.
very briefly, i would like to use a 3d engine dynamic library, inside a jitter-gl external.
from my initial research, i believe i have found the most straight forward way to do this. the rendering engine allows itself to be embedded in an external window, and have that window control it's opengl context. i have seen examples of code which create sdl windows, wxwidgets windows, and qt windows, and forces the engine to render inside of them.
i am only interested at this stage in os x. example code found on a qt forum shows how to retrieve the window handle through an HIViewRef, which in turn calls HIViewGetWindow(). this gets passed to the rendering engine on initialization, and the engine creates an opengl context which renders to this window.
my question is, can anyone give me any information about how to retrieve a jit.window handle ID? do the jit.windows inherit from HIView or something else? is this kind of thing even possible (two gl render contexts rendering to a jit.window)?
many many thanks for anyone's thoughts on these matters.