Updated example source code using GtkBuilder and GtkGLExt..

View: New views
2 Messages — Rating Filter:   Alert me  

Updated example source code using GtkBuilder and GtkGLExt..

by Jose Commins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(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.


_______________________________________________
gtkglext-list mailing list
gtkglext-list@...
http://mail.gnome.org/mailman/listinfo/gtkglext-list

Re: Updated example source code using GtkBuilder and GtkGLExt..

by Mitchell Laks-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 14:37 Thu 27 Aug     , axora@... wrote:

> <html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><font class="postbody">(Update)<br><br>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.
> <br>
>
> <br>It provides safe render-process locking and smooth timer-based
> rendering while being simple, efficient and easy to understand what is
> going on.
> <br>
>
> <br>
> The demo has been updated to use GtkBuilder and is now hosted on Sourceforge: <a href="http://gtkglapp.sourceforge.net/" target="_blank" class="postlink">http://gtkglapp.sourceforge.net/</a>
> <br>
>
> <br>
> <font style="font-weight: bold;">To import the project into Eclipse IDE:</font>
> <br>
>   Open the menu <font style="font-style: italic;">'File->Import...</font>'.
> <br>
>   From the '<font style="font-style: italic;">General</font>' options folder, select '<font style="font-style: italic;">Existing Projects into Workspace</font>' and click on the '<font style="font-style: italic;">Next ></font>' button.
> <br>
>   Choose the '<font style="font-style: italic;">Select archive file:</font>' option and next to it click on the '<font style="font-style: italic;">Browse...</font>' button to navigate to the project archive (ending in '.tgz') you downloaded.
> <br>
>   The project name will appear below - click on '<font style="font-style: italic;">Finish</font>'.
> <br>
>   The project will be imported and opened in your Eclipse workspace.
> <br>
>  
> <br>
> <font style="font-weight: bold;">For command-line users:</font>
> <br>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.</font><font class="gensmall"><br><br>Regards,<br></font>    Jose.<br><br></span></body></html>

Dear axora,
I would love to read you messages but I cant because they were all sent in html mail. I would be very grateful if you could
resend them without the html noise :(.
Thank you very much!
Mitchell


> _______________________________________________
> gtkglext-list mailing list
> gtkglext-list@...
> http://mail.gnome.org/mailman/listinfo/gtkglext-list

_______________________________________________
gtkglext-list mailing list
gtkglext-list@...
http://mail.gnome.org/mailman/listinfo/gtkglext-list