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

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

 



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

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux