[x3d-public] HAnim spec examples LOA3, LOA4 from HAnim 2 part 1 annex

John Carlson yottzumm at gmail.com
Mon Nov 23 18:11:36 PST 2020


I want to verify the conversions from VRML to XML to Java of the HAnim 2
specs, part 1 annex, LOA3 and LOA4.  Michalis, notes for you interspersed.

Don, Joe, I have the LOA3 and LOA4 diamond examples from the spec, but I
don't know if they've been added to the x3d resources examples yet.
 Please advise.   the LOA 3,4 ones are the ones I'm trying to get working
with X3DOM and X_ITE (see previously referenced hanimloa34.html and
HAnimOverview.html)

For example:
/c/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation $ find .
-name '*.x3d'|grep LOA.*4
./Characters/JinLOA4.x3d

Thanks!

Active folder:
$ ls *Dia*x3d|grep -v new
LOA0ExampleSourceWithDiamonds.x3d
LOA1ExampleSourceWithDiamonds.x3d
LOA2ExampleSourceWithDiamonds.x3d
LOA3ExampleSourceWithDiamonds.x3d
LOA4ExampleSourceWithDiamonds.x3d

$ cd data
X3D resources copy:

$ ls *Diamon*
DiamondManLOA_0.x3d  DiamondManLOA_2.x3d  DiamondManLOA1.x3d
DiamondManLOA_1.x3d  DiamondManLOA0.x3d   DiamondManLOA2.x3d

The JSON files pass draft07 schema  and seem to pass lint. The XML files
don't pass the Savage X3D validator, apparently, but they were modfied by
hand.  Michalis, can you double check that the VRML files in the HAnim 2
part 1 annex (LOA0 - LOA4 x2) are converted properly to XML?

I suggest that once the XML passes the validator (Is the validator working
with V4 HAnim yet?), we send it through the X3dToJava.xslt converter.
Errors currently in the converter are:

$ ls ../data/LOA*x3d|grep -v new| xargs sh don.sh
translating to json
translating to nashorn
translating to node.js
translating to java
BEGIN ../data/LOA0ExampleSourceInVRML.x3d > java, *** Error: field
name='coord' type='SFNode' contains illegal value='NULL' - do not use NULL
to represent an empty node, value ignored
END ../data/LOA0ExampleSourceInVRML.x3d
BEGIN ../data/LOA0ExampleSourceWithDiamonds.x3d > java, *** Error: field
name='coord' type='SFNode' contains illegal value='NULL' - do not use NULL
to represent an empty node, value ignored
END ../data/LOA0ExampleSourceWithDiamonds.x3d
BEGIN ../data/LOA1ExampleSourceInVRML.x3d > java, *** Error: field
name='coord' type='SFNode' contains illegal value='NULL' - do not use NULL
to represent an empty node, value ignored
END ../data/LOA1ExampleSourceInVRML.x3d
BEGIN ../data/LOA1ExampleSourceWithDiamonds.x3d > java, *** Error: field
name='coord' type='SFNode' contains illegal value='NULL' - do not use NULL
to represent an empty node, value ignored
END ../data/LOA1ExampleSourceWithDiamonds.x3d
BEGIN ../data/LOA2ExampleSourceInVRML.x3d > java, *** Error: field
name='coord' type='SFNode' contains illegal value='NULL' - do not use NULL
to represent an empty node, value ignored
END ../data/LOA2ExampleSourceInVRML.x3d
BEGIN ../data/LOA2ExampleSourceWithDiamonds.x3d > java, *** Error: field
name='coord' type='SFNode' contains illegal value='NULL' - do not use NULL
to represent an empty node, value ignored
END ../data/LOA2ExampleSourceWithDiamonds.x3d
BEGIN ../data/LOA3ExampleSourceInVRML.x3d > java, *** Error: field
name='coord' type='SFNode' contains illegal value='NULL' - do not use NULL
to represent an empty node, value ignored
END ../data/LOA3ExampleSourceInVRML.x3d
BEGIN ../data/LOA3ExampleSourceWithDiamonds.x3d > java, *** Error: field
name='coord' type='SFNode' contains illegal value='NULL' - do not use NULL
to represent an empty node, value ignored
END ../data/LOA3ExampleSourceWithDiamonds.x3d
BEGIN ../data/LOA4ExampleSourceInVRML.x3d > java, *** Error: field
name='coord' type='SFNode' contains illegal value='NULL' - do not use NULL
to represent an empty node, value ignored
END ../data/LOA4ExampleSourceInVRML.x3d
BEGIN ../data/LOA4ExampleSourceWithDiamonds.x3d > java, *** Error: field
name='coord' type='SFNode' contains illegal value='NULL' - do not use NULL
to represent an empty node, value ignored
END ../data/LOA4ExampleSourceWithDiamonds.x3d
translating to python

Michalis, the VRML files I am currently exercising are LOA3*wrl and
LOA4*wrl are currently checked in at the link below.  I am starting to
worry that I should have copied and pasted from the website instead of
going into the repository to get the VRML.  I will check to see if I have
the latest version soon.

https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/data

We also need to verify the VRML.  Anyone know how to do that?

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20201123/e722572c/attachment-0001.html>


More information about the x3d-public mailing list