[osg-users] [build] Build OSG on iOS with support OpenGLES 3.0

19 views
Skip to first unread message

Vlad Domashevich

unread,
Dec 12, 2017, 8:08:03 AM12/12/17
to osg-...@lists.openscenegraph.org
Hi, I build OSG for iOS with OpenGLES 3.0 support only. Now I got some problems:
Warning: Material::apply(State&) - not supported.
Warning: detected OpenGL error 'invalid operation' at after RenderBin::draw(..).

In CMake I saw possibility for build with support OpenGLES 2.0 and 3.0 together.

Questions:
1. Does OSG got full support with OpenGLES 3.0?
2. Is build OSG with OpenGLES 3.0 enough for success? Or 2.0 or both versions better?

Thank you!

Cheers,
Vlad

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72571#72571





_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Chris Hanson

unread,
Dec 12, 2017, 11:38:20 AM12/12/17
to OpenSceneGraph Users
What you're seeing is normal. OpenGL ES 3.0 does not support the old fixed-function Material feature. OSG is warning you that you are trying to render a piece of geometry that uses this feature.

Your solution is to modify your scene to not use Material states and instead write shaders to create the desired appearance.

On Tue, Dec 12, 2017 at 6:10 AM, Vlad Domashevich <xerxs...@gmail.com> wrote:
Hi, I build OSG for iOS with OpenGLES 3.0 support only. Now I got some problems:
Warning: Material::apply(State&) - not supported.
Warning: detected OpenGL error 'invalid operation' at after RenderBin::draw(..).

In CMake I saw possibility for build with support OpenGLES 2.0 and 3.0 together.

Questions:
1. Does OSG got full support with OpenGLES 3.0?
2. Is build OSG with OpenGLES 3.0 enough for success? Or 2.0 or both versions better?

Thank you!

Cheers,
Vlad

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72571#72571





_______________________________________________
osg-users mailing list



--
Chris 'Xenon' Hanson, omo sanza lettere. Xe...@AlphaPixel.com http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging  UAVs • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]
Reply all
Reply to author
Forward
0 new messages