Mikael Hallendal wrote:
> 3 mar 2008 kl. 22.48 skrev Carlos Pereira:
>
> Hi Carlos,
>
> GtkGLext seems to be the most popular GL Area to use these days. You 
> might also want to look at Clutter [1] or Pigment [2] which are 
> canvases offering some higher level abstractions for 2D/3D usages. It 
> depends a bit on what you need, if you just want an area for pure GL 
> I'd go with GtkGLext.
>
> Regarding future inclusion of GL in GTK+ there is an open bug about it 
> in the Bugzilla [3], I started looking into it a while back but didn't 
> have time to get anything off my hard drive. There are some open 
> issues in that you can read about in the bug tracker.
>
Thanks Michael,

I have red a few times that thread, that Owen started five years ago, 
and apparently there is agreement in the essentials:

1) remove all the fat from Gtkglext, namely the wrapper functions 
discussed in that thread, make it a small library that cares only for  
opengl integration, that works in the X window system but also in 
Windows and Mac OS X, exactly as Gtk.

2) change the name, for example to Gtkglarea 2.0*, the legitimate 
sucessor to Gtkglarea 1 (the last version of Gtkglarea that I downloaded 
last week is 1.99 and still comes with gtk_signal_connect and other Gtk 
1.2* functions deprecated long ago)

3) make it an official (but optional) Gtk library, downloadble from 
www.gtk.org.

I believe this would make Gtk more appealing, particularly for 
scientific/engineering/architecture applications.
Carlos
> Good luck,
>   Mikael Hallendal
>
> [1] http://www.clutter-project.org/
> [2] https://code.fluendo.com/pigment/trac
> [3] http://bugzilla.gnome.org/show_bug.cgi?id=119189
>
>> Hi,
>> What is the currently recommended way to link GTK with OpenGL graphic
>> areas? GtkGLarea? GtkGLext? other?
>>
>> What are the future plans for GTK regarding OpenGL? is GTK planning to
>> support OpenGL directly without need for another library? I am not
>> particularly interested in fancy arbitrary widget rendering with OpenGL,
>> only rendering to graphic drawing areas,
>>
>> Best regards,
>> Carlos
>> _______________________________________________
>> gtk-app-devel-list mailing list
>> gtk-app-devel-list@gnome.org
>> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
>

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

Reply via email to