[x3d-public] JavaScript expert (or other) needed for HAnim conversion

John Carlson yottzumm at gmail.com
Fri Nov 20 08:55:59 PST 2020


This is urgent, as I can't load some XML files into X3DJSONLD.   I have
work around to load JSON, but I would prefer to load XML

On Fri, Nov 20, 2020 at 7:07 AM John Carlson <yottzumm at gmail.com> wrote:

> I have a few X3D XML files that need to get converted to X3D JSON.  I
> currently use X3dToJson.xslt, but I want an alternate path.  Thus I wrote:
>
>
> https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/DOM2JSONSerializer.js
>
> https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/xml2all.js
>
> Here's how I run them:
>
> $ node ../node/xml2all.js JoeSkinTexcoordDisplacerKick.x3d
>
> But it doesn't work on these files:
>
>
> https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/JoeKick.x3d
>
> https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/JoeProcessed.x3d
>
> https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/JoeSkinTexcoordDisplacerKick.x3d
>
> I don't know how to run the node debugger yet, but I'm going to start up
> VSCode soon!
>
> I don't care if you use my JavaScript or not. It should run on all
> platforms (python might be nice).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20201120/bc56fa7b/attachment.html>


More information about the x3d-public mailing list