[GtkGLExt] [Repost] Updated example source code using GtkBuilder and GtkGLExt



(Update)

Hi folks, to help out anyone who is looking into using OpenGL within GTK windows (using GtkGLExt) I have released fully documented sample code in C to be used freely as you wish.

It provides safe render-process locking and smooth timer-based rendering while being simple, efficient and easy to understand what is going on.

The demo has been updated to use GtkBuilder and is now hosted on Sourceforge: http://gtkglapp.sourceforge.net/

To import the project into Eclipse IDE:
Open the menu 'File->Import...'.
From the 'General' options folder, select 'Existing Projects into Workspace' and click on the 'Next >' button. Choose the 'Select archive file:' option and next to it click on the 'Browse...' button to navigate to the project archive (ending in '.tgz') you downloaded.
The project name will appear below - click on 'Finish'.
The project will be imported and opened in your Eclipse workspace.

For command-line users:
Please note that to run the application successfully outside of the Eclipse IDE environment (e.g. from a 'make' within the "../Debug/" directory) the GUI file "gtk_gl_tester.gtk" must reside in the same directory as the compiled binary for it to run.

Regards,
   Jose.


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