use open scene graph and osgearth libraries to run simple.earth file in linux with this command:
osgearth_viewer simple.earth
this works fine, however, I want to display simple.earth file in web environment by using emscripten. I installed both open scene graph and osgearth libraries using Emscripten.cmake toolchain file, however, I get this error:
osgearth_viewer.js:1 Warning: GraphicsContext::WindowingSystemInterfaces::getWindowingSystemInterface() failed, no interfaces available.
[osgEarth]* [MapNodeHelper] No earth file loaded
Is it possible to use open scene graph and osgearth libraries to display an .earth file in web environment using emscripten?
I try open a window with sdl library but I could not embed the image from osgeart into the window
I expect that works on the web.
Osman Sarı is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.