[X3D-Ecosystem] Don McCurdy gave me the secret to combining animations when exporting glTF
John Carlson
yottzumm at gmail.com
Tue Oct 15 14:05:47 PDT 2024
Try it yourself and see.
We have to revisit the importer when both humanoids and normal objects are
included. Perhaps loading WinterAndSpring into Blender would be good
practice. Then we will see what the setting really means. If the
furniture is in transformed space we might have an issue.
I’ve been working on getting the export working on code that comes from
non-loader sources, like the old importer, realizing that importing is more
important. Getting a scene with USE is important. Not only humanoids. USE
on geometry outside humanoids.
It’s not correct. It “works” for humanoids. I haven’t tried anything else.
If you like, I can send a zip for you to look at.
Hmm!
John
On Tue, Oct 15, 2024 at 2:26 PM Joe D Williams <joedwil at earthlink.net>
wrote:
> Not
>
> export_yup=False,
>
>
>
> Use
>
> export_yup=True,
>
>
>
> Please help me understand why I keep seeing the "bad" yup parameter or
> please convince me that it is correct. .
>
>
>
> Thanks,
>
> Joe
>
>
>
>
>
>
>
> -----Original Message-----
> From: John Carlson <yottzumm at gmail.com>
> Sent: Oct 15, 2024 11:54 AM
> To: Joe D Williams <joedwil at earthlink.net>, Katy Schildmeyer KS APPAREL
> DESIGN <katy at ksappareldesign.com>, Michalis Kamburelis <
> michalis.kambi at gmail.com>, X3D Ecosystem public discussion <
> x3d-ecosystem at web3d.org>, Holger Seelig <holger.seelig at yahoo.de>
> Subject: Don McCurdy gave me the secret to combining animations when
> exporting glTF
>
>
> Blender Python script for exporting glb as a single, combined animation:
>
> bpy.ops.export_scene.gltf(
> filepath=os.path.join(".",
> f"JoeSkinTexcoordDisplacerKickUpdate2Export.glb"),
> export_yup=False,
> # export_format="GLTF_SEPARATE",
> export_format="GLB",
> export_nla_strips_merged_animation_name='Animation',
> export_animation_mode="ACTIVE_ACTIONS", #"SCENE",
> export_influence_nb=40,
> export_all_influences=True,
> use_active_collection=True
> )
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20241015/0d7f6857/attachment.html>
More information about the X3D-Ecosystem
mailing list