[osg-users] Export GLTF from OSG?

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Mon Feb 17 14:00:17 PST 2020


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 it a look and see if you might be able to use it.


Jason

On Mon, Feb 17, 2020, 2:46 PM OpenSceneGraph Users <
osg-users at lists.openscenegraph.org> wrote:

> 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 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.
>
> On Monday, February 17, 2020 at 1:01:48 PM UTC-5, Robert Osfield wrote:
>>
>> 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 each frame thereafter.
>>>
>>> Curious if anybody has tried something similar, or if there is existing
>>> code to do this.
>>>
>>
>> I don't know of any open sourced GLTF importers or exporters for the OSG.
>>
>> What form do your animations take?
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenSceneGraph Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to osg-users+unsubscribe at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osg-users/f8f1a09c-8725-4135-9ece-ab1ae0627d9c%40googlegroups.com
> <https://groups.google.com/d/msgid/osg-users/f8f1a09c-8725-4135-9ece-ab1ae0627d9c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200217/a48f6e85/attachment.html>


More information about the osg-users mailing list