[osg-users] Export GLTF from OSG?
OpenSceneGraph Users
osg-users at lists.openscenegraph.org
Mon Feb 17 17:11:08 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 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.
It's in the in development 3.0 version of osgearth here:
https://github.com/gwaldron/osgearth/tree/3.0/src/osgEarthDrivers/gltf
Jason
On Monday, February 17, 2020 at 1:29:28 PM UTC-5, Armin Samii 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/6348c881-2838-4a01-b744-73366941bd7d%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200217/17b44441/attachment.html>
More information about the osg-users
mailing list