Re: The best/standard way to use opengl in gtk
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-list gnome org
- Subject: Re: The best/standard way to use opengl in gtk
- Date: Thu, 30 Sep 2010 16:33:32 +0100
On Thu, 2010-09-30 at 15:47 +0200, Ingo Krabbe wrote:
> On Thu, Sep 30, 2010 at 09:05:38PM +0800, Jin Huang wrote:
> > Dear all,
> >
> > I'm a newbie of GTK, and working on 3D modeling software. I want to
> > create a window which can use opengl. The choice seems gtkglext.
> > However, this project is not active now.
> >
> > Any suggestions?
>
> Hi Jin,
>
> there a newer and better methods to work with gtk and opengl. I think
> clutter is one of the best approaches that is about to become de-facto
> standard. Parts of clutter depend on gtk+-3 though. Gnome-3 will have
> some clutter dependencies, too I think: http://live.gnome.org/GnomeShell
Clutter is *not* a tool for 3D modeling software.
the fact that Clutter uses OpenGL and has a 3D canvas doesn't mean that
you can use it for every use case covered by the OpenGL API.
Clutter is the equivalent of CoreAnimation on Quartz; it should be used
to create dynamic and compelling user interfaces - and it should
definitely not be used to create GL viewports inside a GTK+ application.
in fact, if you try to fall back to pure GL it will probably be far less
performant than it would be normally.
ciao,
Emmanuele.
--
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]