Re: [osg-users] Export GLTF from OSG?

2020-03-19 Thread OpenSceneGraph Users
OK, so I’ve gone a bit further with this, and have ported some core pieces of the glTF plugin from osgEarth into osg itself. It’s functional and I’d like to push this back to the core repo soon. Any particular process to follow for contributions like this? Current work here:

Re: [osg-users] Export GLTF from OSG?

2020-03-08 Thread OpenSceneGraph Users
Without looking at the source too closely, is there any reason why this couldn’t be included as an OSG plugin rather than an osgEarth plugin? Kind regards, Phil. > On 18/02/2020, at 2:11 PM, OpenSceneGraph Users > wrote: > > We have a gltf importer/exporter that we use in osgearth based on

Re: [osg-users] Export GLTF from OSG?

2020-02-18 Thread OpenSceneGraph Users
We have a gltf importer/exporter that we use in osgearth based on tinygltf. It works really well although we're really only targeting gltf files produced to support rendering 3d tiles datasets. So for example we havent done anything with animation since that's not a big part of 3dtiles.

Re: [osg-users] Export GLTF from OSG?

2020-02-17 Thread OpenSceneGraph Users
We have a gltf importer/exporter that we use in osgearth based on tinygltf. It works really well although we're really only targetting gltf files produced to support rendering 3d tiles datasets. So for example we havent done anything with animation since that's not a big part of 3dtiles. Give

Re: [osg-users] Export GLTF from OSG?

2020-02-17 Thread OpenSceneGraph Users
Hi Robert, The animations are reading live data and rendering them - so it's not a simple format, but can be represented by gltf well: the mesh models are static, but can appear and disappear and can have arbitrary transformations applied to them. My vision is an exporter that exports each

Re: [osg-users] Export GLTF from OSG?

2020-02-17 Thread OpenSceneGraph Users
Hi Armin? On Friday, 7 February 2020 19:06:19 UTC, Armin Samii wrote: > > Has anybody worked on exporting GLTF Animations from OSG? > > I'd like to save my dynamic OSG scene to disk, and don't want to save the > static geometry each frame. GLTF lets me export the geometry once, and > animate it