Menu

#108 Confirm X3DJSAIL ordering of HAnimHumanoid USE after DEF

X3D4
open
X3DJSAIL (3)
2 hours ago
3 hours ago
No

A long-reported problem with X3DJSAIL when exporting an .x3d model is incorrect ordering of HAnimHumanoid child nodes, not putting USE after DEF.

I am unable to find an active test case documenting such a problem.

Today's X3DJSAIL update appears to produce XML for HAnimHumanoid scenes with the following sequencing of contained content: SFNode fields (metadata, IS), comments, skeleton, then other fields (joints, segments, sites, coord/normal fields).

The stylesheet adjustments for the latest X3DJSAIL library can be inspected at

  • /www.web3d.org/x3d/stylesheets/CreateX3dSceneAccessInterfaceJava.xslt [r39602]
  • sorting order of MFNode fields under HAnimHumanoid when producing XML X3D, putting USE node arrays last when possible

Simple test case:

Correctly sequenced output found in the attached model.

Additional test cases welcome.

1 Attachments

Related

Commit: [r39602]

Discussion

  • Don Brutzman

    Don Brutzman - 3 hours ago

    improved result from harder test case attached, intermediate test file JinLOA1_JavaExport.x3d

     

    Last edit: Don Brutzman 3 hours ago
  • Don Brutzman

    Don Brutzman - 2 hours ago

    SourceForge won't show diffs in the stylesheet since it is such a large file, screenshot attached

     

Log in to post a comment.

MongoDB Logo MongoDB