[osg-users] osg on web page

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Wed May 27 01:45:29 PDT 2020

I am definitely interested in collaborating on this. Some things remain incomplete in the current port. I’ll share the working example I got up and running soon, so that will fill in one of the gaps

Another current issue is the patchy browser support for multithreaded WebAssembly and OSG requiring multithreading (at least at compile time). I mentioned this previously on the list, but I think a port of OpenThreads specifically to handle the stub functionality in single-threaded WebAssembly mode would open up browser support hugely. Other projects like Google Earth have had to do the same work.

The port of osgEarth’s glTF plugin to OSG could also benefit from some additional work to enable remote resource fetching. At the moment I’ve only ported the local resource path.

Kind regards,

> On 27/05/2020, at 4:03 AM, OpenSceneGraph Users <osg-users at lists.openscenegraph.org> wrote:
> We have also dabbled in OSG on Emscripten with partial success. We may be pursuing it in the future. Remo in Switzerland also got most of OSG and osgEarth working on Emscripten within the last couple of years. I can put you in touch if you're pursuing this.
> Good luck. It's complicated but can be made to work with dedication.
> On Sun, May 24, 2020 at 3:22 PM OpenSceneGraph Users <osg-users at lists.openscenegraph.org <mailto:osg-users at lists.openscenegraph.org>> wrote:
> Thanks once again!
> On Sun, May 24, 2020 at 11:14 PM OpenSceneGraph Users <osg-users at lists.openscenegraph.org <mailto:osg-users at lists.openscenegraph.org>> wrote:
> I should also have pointed out the build script: https://github.com/MozillaReality/OpenSceneGraph/blob/mozilla-master/PlatformSpecifics/WebAssembly/build-wasm.sh <https://github.com/MozillaReality/OpenSceneGraph/blob/mozilla-master/PlatformSpecifics/WebAssembly/build-wasm.sh>
> and a precompiled release of the libs and plugins:
> https://github.com/MozillaReality/OpenSceneGraph/releases/tag/OpenSceneGraph-3.7.0-wasm%2Bmozilla-gltf <https://github.com/MozillaReality/OpenSceneGraph/releases/tag/OpenSceneGraph-3.7.0-wasm+mozilla-gltf>
> Kind regards,
> Phil.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200527/964e5004/attachment.html>

More information about the osg-users mailing list