[x3d-public] Blender importer plans (mapping to Blender)

John Carlson yottzumm at gmail.com
Fri Dec 29 17:53:05 PST 2023


There’s a very good “mapping” from X3D to Blender here:

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

Starting at line 1487.

I suggest we use this code going forward for any Blender X3D importer.

The JSON conversion to nodes call can be added around line 3526.

There seem to be 2 tasks:

1. Converting JSON to nodes, like what is done for XML and and WRL.

2.  Converting HAnim to appropriate Blender structures (bones and named
transforms)

Probably I would be best qualified for JSON processing and Doug could work
on the second task?  Anyone else want to volunteer?

Could we leverage the io_scene_x3dv addon for JSON?

Thanks!

John


On Fri, Dec 29, 2023 at 6:46 PM John Carlson <yottzumm at gmail.com> wrote:

> Here are my current plans for HAnim import into Blender.
>
> 1. Upgrade current WRL and X3D importer to current HAnim standards.
> Convert joints to bones and sites and segments to transforms, include
> geometry attached to skeleton, sites and segments.  Convert
> OrientationInterpolators to keyframe animation.
>
> 2.  Possible JSON to DOM conversion in Python.
>
> 3.  I don’t have current plans to use x3d.py due to difficulty to read in
> various encodings.  Help would be appreciated.
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20231229/058ae254/attachment-0001.html>


More information about the x3d-public mailing list