Main Page | Report this Page
Computers Forum Index  »  Computer - Graphics - API (Opengl)  »  GTK+ support?...
Page 1 of 1    

GTK+ support?...

Author Message
A...
Posted: Wed Aug 26, 2009 1:56 pm
Guest
Hi all,

Is there any proper OpenGL support under GTK+?

It appears that GtkGLExt was last worked on in 2006.

Thanks.
 
konrad...
Posted: Wed Aug 26, 2009 10:48 pm
Guest
A pisze:
Quote:
Hi all,

Is there any proper OpenGL support under GTK+?

It appears that GtkGLExt was last worked on in 2006.

Thanks.

I tried to connect c++, GTK+, GtkGLEx and didn't came out well. it was
at the beginning well but when I use "glClear (GL_COLOR_BUFFER_BIT |
GL_DEPTH_BUFFER_BIT);" stop working. On windows and Linux results were
different.

Now I use wxWidgets and is great on Linux and Win.

Sorry for my english Wink.
 
Wolfgang Draxinger...
Posted: Thu Aug 27, 2009 1:46 am
Guest
A wrote:

Quote:
Hi all,

Is there any proper OpenGL support under GTK+?

Yes.

Quote:
It appears that GtkGLExt was last worked on in 2006.

Look for GtkGLArea, which is the OpenGL widget for Gtk-2.x. GtkGLExt was
Gtk-1.x which is obsolete for ages.

--
OpenGL tip #42:
How to exactly map texture texels to screen pixels:
<http://preview.tinyurl.com/cgndc8>
 
Philipp Klaus Krause...
Posted: Sat Aug 29, 2009 6:18 pm
Guest
Wolfgang Draxinger schrieb:
Quote:
A wrote:

Hi all,

Is there any proper OpenGL support under GTK+?

Yes.

It appears that GtkGLExt was last worked on in 2006.

Look for GtkGLArea, which is the OpenGL widget for Gtk-2.x. GtkGLExt was
Gtk-1.x which is obsolete for ages.


Both GtkGLExt and GtkGLArea are maintained and should work with the
latest GTK+.
I've read countless claims of gtkglarea being dead/only for old GTK
versions. I've read countless claims of gtkglext being dead/only for old
GTK versions. Neither of these claims turned out to be true.
It's been a while since I wrote an application with a GUI, but last
time I used GTK+ 2 with gtkmmm, gtkglext and gtkglextmm.

Philipp
 
Wolfgang Draxinger...
Posted: Sat Aug 29, 2009 9:23 pm
Guest
Philipp Klaus Krause wrote:

Quote:
Both GtkGLExt and GtkGLArea are maintained and should work with the
latest GTK+.

Good to know. Last time I needed OpenGL in a GTK applicaton (about 2 years
ago), GtkGLExt refused to work due to compatibility problems with my then
installed version of Gtk, whereas GtkGLArea made no problems.

Wolfgang
 
 
Page 1 of 1    
All times are GMT
The time now is Thu Nov 26, 2009 10:32 am