osgearth icon indicating copy to clipboard operation
osgearth copied to clipboard

How to compile osgearth with GLES2 and run it on PC ubuntu.

Open fansmit opened this issue 3 years ago • 2 comments

Hi

I'd like to run osgearth with GLES2 on ubuntu. I changed OSG configuration to GLES2 and compiled, then compiled osgearth immediately or added OSG_GLES2_AVAILABLE argument additionally. Neither of them could work normally. So what can I do?

fansmit avatar Oct 15 '20 09:10 fansmit

@fansmit Unfortunately there's not enough information here for us to offer guidance. You will need to elaborate a lot on the problems you are seeing.

That said, the osgEarth team does not actively maintain GLES builds, so we rely on the user base to find and track down GLES issues.

gwaldron avatar Nov 19 '20 14:11 gwaldron

I was under the impression that older versions supported GLES2 but newer ones only support core GL 3.3 (desktop) and maybe GLES3. My attempts to run recent 2.x versions with GLES2 were met with failure.

Also: the in-built OpenSceneGraph nodes tend to break when you change the default OSG/OpenGL configuration in the CMake options. Even with the default GL2 profile they break when informed that GL3+ is available.

allen-stubberud avatar Mar 25 '21 06:03 allen-stubberud