[osg-users] How to reduce the cache size limit of OSG ?

2020-05-24 Thread OpenSceneGraph Users
Hi, I am using OSG to show captured point cloud at run time. The dimension of point cloud is 1920x1200. I keep capturing the point cloud from a 3D camera and display it with a osgViewer, but memory consumption keeps growing until ~5GB. I know that OSG caches something to improve

Re: [osg-users] osg on web page

2020-05-24 Thread OpenSceneGraph Users
Thanks once again! On Sun, May 24, 2020 at 11:14 PM OpenSceneGraph Users < osg-users@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 > > and a

Re: [osg-users] osg on web page

2020-05-24 Thread OpenSceneGraph Users
I should also have pointed out the build script: https://github.com/MozillaReality/OpenSceneGraph/blob/mozilla-master/PlatformSpecifics/WebAssembly/build-wasm.sh and a precompiled

Re: [osg-users] osg on web page

2020-05-24 Thread OpenSceneGraph Users
Thanks Phil!!! These are really good insights On Sun, May 24, 2020 at 10:44 PM OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > I’ve done a build of OSG for the web (using Emscripten and WebAssembly): > > *https://github.com/MozillaReality/OpenSceneGraph >

Re: [osg-users] osg on web page

2020-05-24 Thread OpenSceneGraph Users
I’ve done a build of OSG for the web (using Emscripten and WebAssembly): https://github.com/MozillaReality/OpenSceneGraph It includes the glTF plugin (ported from osgEarth) for gltf and glb loading support. The one issue currently is that it

Re: [osg-users] osg on web page

2020-05-24 Thread OpenSceneGraph Users
Thanks Robert! On Sun, May 24, 2020 at 5:24 PM Robert Osfield wrote: > Have a look at Michael Kapelko's work on using Emscripten to use the OSG > within a browser: > > https://www.youtube.com/watch?v=ci2qZjnPEts > > > https://github.com/OGStudio/openscenegraph-cross-platform-guide > > > -- >

Re: [osg-users] osg on web page

2020-05-24 Thread OpenSceneGraph Users
Have a look at Michael Kapelko's work on using Emscripten to use the OSG within a browser: https://www.youtube.com/watch?v=ci2qZjnPEts https://github.com/OGStudio/openscenegraph-cross-platform-guide -- You received this message because you are subscribed to the Google Groups

Re: [osg-users] osg on web page

2020-05-24 Thread OpenSceneGraph Users
Thanks Andreas, That will help for some start On Sun, May 24, 2020 at 3:45 PM Andreas Ekstrand < andreas.ekstr...@remograph.com> wrote: > Hi Nick, > > I've been using osg.js successfully in many projects. Although actually > discontinued by the SketchFab guys in order to develop a replacement

Re: [osg-users] osg on web page

2020-05-24 Thread OpenSceneGraph Users
Hi Nick, I've been using osg.js successfully in many projects. Although actually discontinued by the SketchFab guys in order to develop a replacement of their own, it's still a mature and user-friendly framework if you're familiar with osg. Wouldn't be surprised if SketchFab still uses it for

[osg-users] osg on web page

2020-05-24 Thread OpenSceneGraph Users
Hi Community, I am with osg for quite a while and I never needed to have running osg in a web page. Till now :). Have someone done this? Any hints? Thanks a bunch as always! Cheers, Nick -- trajce nikolov nick -- You received this message because you are subscribed to the Google Groups