discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep for games


From: Ivan Vučica
Subject: Re: GNUstep for games
Date: Fri, 18 Jul 2014 18:21:38 +0100

On Fri, Jul 18, 2014 at 2:09 PM, Matt Rice <ratmice@gmail.com> wrote:
On Fri, Jul 18, 2014 at 5:41 AM, Ivan Vučica <ivan@vucica.net> 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
ivan@vucica.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]