<div dir="ltr"><span style="font-size: small;">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. Give it a look and see if you might be able to use it.</span><div><font size="2"><br></font></div><div><font size="2">It's in the in development 3.0 version of osgearth here: </font><a href="https://github.com/gwaldron/osgearth/tree/3.0/src/osgEarthDrivers/gltf">https://github.com/gwaldron/osgearth/tree/3.0/src/osgEarthDrivers/gltf</a></div><div><br></div><div>Jason<br><div><span style="font-size: small;"><br></span></div><div><span style="font-size: small;"><br></span><br>On Monday, February 17, 2020 at 1:29:28 PM UTC-5, Armin Samii wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi Robert,<div><br>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.<br><br>My vision is an exporter that exports each unique Geode exactly once, and everything else in the scenegraph exported each frame. That would work well for a wide range of OSG-based applications, it seems, and GLTF seems well-suited for this.<br><br>On Monday, February 17, 2020 at 1:01:48 PM UTC-5, Robert Osfield wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Armin?<br><br>On Friday, 7 February 2020 19:06:19 UTC, Armin Samii wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Has anybody worked on exporting GLTF Animations from OSG?<div><br></div><div>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 each frame thereafter.<div><br></div><div>Curious if anybody has tried something similar, or if there is existing code to do this.</div></div></div></blockquote><div><br></div><div>I don't know of any open sourced GLTF importers or exporters for the OSG.</div><div><br></div><div>What form do your animations take?</div><div> </div></div></blockquote></div></div></blockquote></div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/6348c881-2838-4a01-b744-73366941bd7d%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/6348c881-2838-4a01-b744-73366941bd7d%40googlegroups.com</a>.<br />