[x3d-public] announce: X3D Java Scene Authoring Interface (SAI) open source, beta supports ClassicVrml and VRML97 encodings
Don Brutzman
brutzman at nps.edu
Tue Nov 15 23:48:45 PST 2016
1. Continuing progress, daily build updates have been getting posted for
X3D Java Scene Access Interface (SAI) Library
http://www.web3d.org/specifications/java/X3dJavaSceneAuthoringInterface.html
http://www.web3d.org/specifications/java/javadoc
Recent additions:
Complete. Support for X3D .xml, ClassicVrml .x3dv and VRML97 .wrl output file encodings.
Complete. Support for Script (including contained source), field, component, unit, and meta.
Complete. Utility methods getType(fieldName) and getAccessType(fieldName) supporting every field in every node.
Complete. Add 51 conversionFactor convenience constants for unit statement scale factors.
http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/java/Core/unitObject.html#CONVERSIONFACTOR_ANGLES_toRadiansFromDegrees
http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Scale
Example use:
unitAngle .setName("AngleTest" ).setCategory(unitObject.CATEGORY_ANGLE ).setConversionFactor(unitObject.CONVERSIONFACTOR_ANGLES_toRadiansFromDegrees);
unitAngle .setName("AngleTest" ).setCategory(unitObject.CATEGORY_ANGLE ).setConversionFactor(unitObject.CONVERSIONFACTOR_DEFAULT_VALUE);
unitLength.setName("LengthTest").setCategory(unitObject.CATEGORY_LENGTH).setConversionFactor(unitObject.CONVERSIONFACTOR_LENGTH_toMetersFromYards);
unitLength.setName("LengthTest").setCategory(unitObject.CATEGORY_LENGTH).setConversionFactor(unitObject.CONVERSIONFACTOR_DEFAULT_VALUE);
head.addUnit(unitAngle);
head.addUnit(unitLength);
2. Specification issues list for Abstract SAI and Java SAI is pretty stable.
http://www.web3d.org/specifications/java/X3dJavaSpecificationChangesAndIssues.txt
3. Test program and library are getting daily improvements. These are also in version control so that changes can be tracked - very helpful, especially for sleuthing if something goes sideways. Source and resultant demo scene online at
http://www.web3d.org/specifications/java/examples/
http://www.web3d.org/specifications/java/examples/HelloWorldProgram.java
http://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.x3d
http://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.x3dv
http://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.wrl
Demo image and video:
http://www.web3d.org/specifications/java/examples/images/HelloWorldProgramOutput.png
http://www.web3d.org/specifications/java/examples/images/HelloWorldProgramOutput.mp4
withversion control
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/examples
Comments and test reports always 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