[osg-users] Use OSG with an existing renderer in OpenGL ES

Fabien Boco fabien.boco at gmail.com
Fri Nov 18 02:44:42 PST 2016


I'm trying to use OSG with an existing renderer. I found the FAQ about it which advises us to use glPush/PopAttrib to make it work (.../faq#CanIuseOSGwithinanexistingrenderer)

But here's my problem : I'm moving an OSG app (running with QML) from Windows to iOS and iOS means OpenGL ES which doesn't includes glPop/PushAttrib functions (glPush/PopMatrix non either).
I tried to replace concerned function with manual glEnable/Disable(GL_DEPTH_TEST) etc... But it doesn't work. Errors are about "invalid framebuffer operation"
Does anyone have experimented OSG with an existing renderer on iOS or know about this kind of problem ?

Thank you!


Read this topic online here:

More information about the osg-users mailing list