[x3d-public] announce: X3D Java Scene Authoring Interface (SAI) includes X3DOM, Cobweb and .json support
Don Brutzman
brutzman at nps.edu
Fri Dec 9 00:21:03 PST 2016
The X3D Java Scene Access Interface (SAI) is a strongly typed Java library that provides programmer access to an X3D scene graph.
X3D Java Scene Access Interface (SAI) Library
http://www.web3d.org/specifications/java/X3dJavaSceneAuthoringInterface.html
http://www.web3d.org/x3d/stylesheets/java/javadoc/index.html
Progress. Am happy to report that, in addition to pretty-print HTML documentation, three additional XSLT stylesheets are now integrated for programmer use:
Pretty-print html documentation
http://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.html
X3DOM scene page
http://www.web3d.org/specifications/java/examples/HelloWorldProgramOutputX3dom.xhtml
http://www.web3d.org/x3d/stylesheets/java/javadoc/org/web3d/x3d/java/Core/X3DObject.html#toFileX3DOM-java.lang.String-
Cobweb scene page
http://www.web3d.org/specifications/java/examples/HelloWorldProgramOutputCobweb.html
http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/java/Core/X3DObject.html#toFileCobweb-java.lang.String-java.lang.String-
X3D .json encoding
http://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.json
http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/java/Core/X3DObject.html#toFileJSON-java.lang.String-
Availability inconvenience: not checked into SourceForge subversion due to site problems there. For those using version control and building the Java SAI Library themselves, the conversion stylesheet utilizing the X3D Object Model remains available at
http://www.web3d.org/x3d/stylesheets/CreateX3dSceneAccessInterfaceJava.xslt
On 10/21/2016 8:19 AM, Don Brutzman wrote:
==================================================================================
Second release is out, the X3D Java SAI Library is now in beta.
Latest release include autogeneration of concrete classes for field types. Quite a tricky business because a number of specification definitions are contradictory or simply missing, because the published Java SAI specification was based on X3D v3.0 capabilities.
Still in collection mode, but have started a text document listing specification problems and potential improvements.
http://www.web3d.org/specifications/java/X3dJavaSpecificationChangesAndIssues.txt
Initial testing: HelloWorldProgram.java model, online at
http://www.web3d.org/specifications/java/examples/HelloWorldProgram.java
The X3D Object Model is looking very solid. Changes to X3D specification and schema are automatically integrated in this codebase. When complete, this will be a big step forward for rigourously maintaining all X3D specifications, quality assurance tools and Web3D Consortium resources completely correct and in synch. I expect it will be especially helpful when we get to the stage of experimentation with X3D version 4.
Scrutiny by Java experts on the class structures and design patterns is appreciated. More work to follow on X3D Java SAI Library, of course, but it looks like all the major building blocks are now in place. Incremental implementation improvements and TODO capability addition can now proceed.
As ever, all feedback and comments are welcome. Have fun with X3D Java!
==================================================================================
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