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

Joseph D Williams joedwil at earthlink.net
Tue Nov 24 11:33:01 PST 2020


➢ 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)

Thanks very much. Please send zip of loa4 xml that you have. 
We want to add all five needed examples to a special archive, including any part 2 examples. 
Needs to pass all Don’s code tests. 
Please carefully document general or specific changes from the published. 
Of course the important part is that the example matches the hanim object model, schema, and the standard. 
Start with loa4 and the rest will come. 
Next, we hook up some example ‘standard’ animations and try to also get that into annex A at some future rev.  
Thanks Again, 
Joe

From: John Carlson
Sent: Monday, November 23, 2020 6:11 PM
To: X3D Graphics public mailing list; Don Brutzman; Michalis Kamburelis; Joe D Williams
Subject: HAnim spec examples LOA3, LOA4 from HAnim 2 part 1 annex

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/20201124/352af55b/attachment-0001.html>


More information about the x3d-public mailing list