Hello everyone, I just ported my application from Gtk2 to Gtk3. Until now I used gtkglext to render with OpenSG into a widget. There is a gtk3 port of gtkglext, but I had artifacts that I couldn't get rid of. So I tried GtkGLArea, it works, but I have a problem when using framebuffers (for example for texture rendering). GtkGLArea does not render directly to the window but instead to a framebuffer and later cairo drawns the framebuffer to the widget vie a shared GL context.. When I use a framebuffer from OpenSG then once the rendering to it is done, OpenSG resets the buffer with glBindFramebuffer(0) if I recall correctly. Normally this would be fine, but with the GtkGLArea it results in a black window. Instead It would need to bind to the framebuffers from the gtkglarea. There is a convenience function to do this, how can I tell OpenSG to call it after using a framebuffer?
best regards, Victor
_______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users