ANNOUNCE: GtkGLExt 0.3.0
- From: Naofumi Yasufuku <naofumi yasufuku net>
- To: gtk-list gnome org
- Subject: ANNOUNCE: GtkGLExt 0.3.0
- Date: Thu, 20 Jun 2002 13:39:42 +0900
Hello everyone,
GtkGLExt, OpenGL extention to GTK, version 0.3.0 is released.
http://sourceforge.net/projects/gtkglext/
This release includes the important API changes.
The new interface is designed to be suitable for GTK+/GDK API manner.
* You can draw OpenGL scene using gdk_gl_drawable_* functions.
For example,
gboolean
draw_gl_scene (GtkWidget *widget,
GdkEventExpose *event,
gpointer data)
{
GdkGLContext *glcontext = gtk_widget_get_gl_context (widget);
GdkGLDrawable *gldrawable = gtk_widget_get_gl_drawable (widget);
gdk_gl_drawable_gl_begin (gldrawable, glcontext);
/* GL calls */
if (gdk_gl_drawable_is_double_buffered (gldrawable))
gdk_gl_drawable_swap_buffers (gldrawable);
else
glFlush ();
gdk_gl_drawable_gl_end (gldrawable);
return TRUE;
}
It can also reduce waste quark data lookups.
* Bitmap font support have been rewritten to be based on Pango.
GdkFont is deprecated in GTK 2, and so gdk_gl_font_use_gdk_font ()
is gone. Now, you can use gdk_gl_font_use_pango_font () and Pango
API to use bitmap font in OpenGL.
And then, all sources have been cleaned. Now, they include no
deprecated code, and are fully compliant with GTK 2.
Could you please try it and tell me your comments?
General Information
===================
GtkGLExt is an OpenGL extention to GTK 2.0 or later.
This package is composed of GdkGLExt library and GtkGLExt library.
GdkGLExt library includes low-level OpenGL related objects,
GdkGLConfig, GdkGLContext, GdkGLDrawable, GdkGLWindow, and so on,
which has GLX like interface. GtkGLExt library includes high-level
gtk_widget API extentions using GdkGLExt, which extends *ANY* GTK+ widget
to an OpenGL-capable widget.
The objects included in these libraries are implemented using C and
fully compliant with GLib's GObject and it's latest features.
The official web site is:
http://gtkglext.sourceforge.net/
The official download & development information site is:
http://sourceforge.net/projects/gtkglext/
Supported Platforms
===================
Currently GtkGLExt supports
* UNIX platforms
Tested on Linux (RedHat 7.3) and IRIX (6.5).
* Win32 platforms
Tested on Windows XP & 2000 Professional using MinGW/Cygwin
environment.
Thank you,
--
Naofumi Yasufuku <naofumi users sourceforge net>
"The best way to predict the future is to invent it." -- Alan Kay
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]