Re: OpenGL, GtkGlArea, GtkGLExt



On Tue, 2008-03-04 at 19:37 +0000, Jon Harrop wrote:
On Tuesday 04 March 2008 18:14:39 Behdad Esfahbod wrote:
On Tue, 2008-03-04 at 17:04 +0000, Carlos Pereira wrote:
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)

No, gtkglarea is dead.

GlArea still has many users and is the defacto standard for some languages.

We don't want a new widget.  We want being able 
to render to widgets using OpenGL as an alternative to using cairo.
That is, the GtkGlExt approach.

I'm not sure who you are referring to as "we" but many people need little 
beyond GlArea. I have no desire to create Gtk-compatible widgets. I only want 
to render general graphics quickly and easily using OpenGL.

Yes, what you want is "to render general graphics quickly and easily
using OpenGL".  What you don't want is GlArea.  Tell us (developers)
what you need instead of what *you* think the solution is.

In the current plan, you will simply use GtkDrawingArea or any other
widget you like instead of GlArea.  It's the same level of API, just
works with any widget.


I believe this would make Gtk more appealing, particularly for
scientific/engineering/architecture applications.
Carlos

I am a scientist writing software for scientists and engineers using Gtk from 
OCaml via the LablGTK2 bindings. There are OCaml bindings for GlArea but not 
GlExt because GlExt is considered too complicated to be worth binding.

If anyone is interested in improving the situation for scientists and 
engineers then I would recommend taking this into account: keep it simple to 
bind.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759




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