On Fri, Jul 18, 2014 at 2:09 PM, Matt Rice <[email protected]> wrote:
> On Fri, Jul 18, 2014 at 5:41 AM, Ivan Vučica <[email protected]> wrote: > > > > SDL is supposed to be the thing that provides you with an NSOpenGLView, > not > > to draw into an NSOpenGLView. It's not an engine. OGRE is a full-fledged > > engine that happens to also be able to handle inputs and open windows. > > ogre actually doesn't handle input without help, > Ah, yes. I remember we used something extra. OIS, iirc. My mistake. > > Among other > > reasons, because of SDL_VIDEO_DRIVER, which lets you draw into an > > aalib-managed surface (and window) as easily as into a D3D-backed surface > > (and a win32 window). > > this is much how OGRE works, with d3d, opengl, opengl es backends etc, > the usage of an externally created window must be done on a backend > specific basis, and it's opengl backend is capable of that, > Sure. OGRE is a full-fledged 3D engine that also happens to be structured nicely so you can draw into a context provided by something else. :-) > getting gnustep to hand over said window is another task entirely.. > Window? Couldn't you get OGRE to just use the 'current OpenGL context' (which would be the platform specific context object that's backing NSOpenGLView's NSOpenGLContext)? Does it actually need access to the HWND or its equivalents in other windowing systems? -- Ivan Vučica [email protected]
_______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
