[x3d-public] X3dToJson.xslt stylesheet converter: documentation update

Don Brutzman brutzman at nps.edu
Sat Mar 19 20:52:45 PDT 2016


 From this past week's X3D JSON teleconference:

http://www.web3d.org/x3d/stylesheets/X3dToJson.html#encoding

* Encoding. JSON files are implicitly allowed to have an encoding of UTF-8, UTF-16 or UTF-32. The "X3D" object is given a field such as "encoding":"UTF-8" to indicate the scene author's expected encoding. This expression of file encoding corresponds to the header statement syntax required for the VRML97, ClassicVRML and XML file formats.

The excerpted examples are also updated to show SFNode syntax for all SFNode children, e.g. appearance, geometry, texture etc.

http://www.web3d.org/x3d/stylesheets/X3dToJson.html#HelloWorld.json

http://www.web3d.org/x3d/stylesheets/X3dToJson.html#TestJsonEncoding.json

http://www.web3d.org/x3d/stylesheets/X3dToJson.html#OrigamiCranes.json

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the x3d-public mailing list