Fix DEF/USE ordering in x3d.py XML and VRML output. DEF/USE output ordering should follow the order of the Python code (or original XML), but it follows a sorted order of outputted fields hard-coded in x3d.py itself. I have too many examples to mention, but HAnim is a particular hot point. Since, AFAIK, there is no output from x3d.py in the archive, I can't point to you anything in the archive.
I will try to generate some examples with X3dToPython.xslt next, just to see if my PythonSerializer is causing the problem. I may have to modify the stylesheet to provide output files. Can we see Python updates to X3DJSAIL faster than x3d.py updates?
This might be a good place to start. https://www.web3d.org/x3d/content/examples/HumanoidAnimation/FacialAnimation/FacialAnimationComparisonScriptsIndex.html Change the Python that page such that it generates XML, then view the output in castle-model-viewer and Sunrize or X_ITE.
Thanks,
John
I am attaching something generated by X3dToPython.xslt that shows the problem. Note that the stylesheet had problems in the XML file output code. I will attach those changes too.
Diff:
Python code
Output .x3d
Stylesheet