[x3d-public] HAnim import addon enhancement for Blender

John Carlson yottzumm at gmail.com
Sat Mar 2 13:22:47 PST 2024


I am now preparing to do some Python X3D HAnim model (VRML and XML)
importer programming in Blender.  I will start work with the addon here:

https://github.com/Web3DConsortium/BlenderX3DSupport/tree/main/io_scene_x3d

In particular, the import_x3d.py script:

https://github.com/Web3DConsortium/BlenderX3DSupport/blob/main/io_scene_x3d/import_x3d.py

Which appears to handle VRML and XML (yay!).

I will not do JSON import, pending any JSON encoding changes.  It looks
like slipping JSON in will be fairly easy, just adding a parser.

Note that HAnimSites, HAnimSegments, HAnimDisplacers and HAnimMotion will
not be added this time, as I need more knowledge of how to bring these
things into or out of Blender.  ROUTEs and OrientationInterpolators are
already supported on import, it will be a matter of bringing these into the
HAnim stuff.

So we should be able to import a humanoid, joints and centers, skin,
weights, routes, and orientation interpolators.

Dealing with a single file on import seems much more reasonable than
dealing with some gltf conversion.

If someone wants to support this effort with validated VRML and X3D HAnim
2.0 model samples, all the better.

More later.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240302/497cb96c/attachment.html>


More information about the x3d-public mailing list