Re: The best/standard way to use opengl in gtk



On 2010-09-30 17:52, Emmanuele Bassi wrote:
> On Thu, 2010-09-30 at 18:44 +0200, Ingo Krabbe wrote:
> >  And what are the alternatives, to come back to the initial
> >  question.
> 
> the alternatives for 3D modeling? direct GL is probably a good option
> - in which case GtkGLExt is a good place to start with. just because
> it doesn't get many commits it doesn't mean it's dead.

I've been GtkGLExt in an application of mine and it seems to work well.
If you have to port your program to Win32 you'll likely have some
issues, but other than that it does what it needs to.

That being said, it would be really nice to have a generic library to
help with some of the more common complexities of OpenGL. For instance,
texture loading, depth sorting, tessellation, sharers, etc. It wouldn't
need to implement a scene graph, and probably wouldn't even need to be
GObject based. Just something for OpenGL like what glib is for libc. 

Cogl (from the clutter project) seems to do some of that, but I've never
tried it and don't know how well it works if it's not being used with
clutter.


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