OpenGL rendering onto a widget



Hello.
I'd like to know what's the simplest way to render raw OpenGL graphics onto a GTK widget, in a way that I can later overlay Cairo graphics on top of it.
I would like this to be cross platform for Windows, OS X and Linux.

The Qt framework allows you to combine raw OpenGL 3D graphics with vector graphics on the same "canvas," and this is what I'm looking for with GTK+\GDK, in the simplest way possible without additional dependencies.

Thank you.


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