[x3d-public] X3DJSAIL progress report (X3D JSON Nailed Announcement).

yottzumm at gmail.com yottzumm at gmail.com
Mon Feb 20 21:21:14 PST 2017


The key files in X3DJSONLD are runjson.sh (serialize JSON to Java, Python, X3D) and compilejava.sh.  This may be modified to suit.  Also, it is required for the X3DJSAIL jars to to be installed in ../pythonSAI  compilejava.sh produces diffs, errors, BadJava.zip and GoodJava.zip (a forthcoming zip of these will be provided).

The new version of X3DJSONLD (Now know as X3D JSON Nailed).  Is available at https://github.com/coderextreme/X3DJSONLD

Be sure to have your JSON files and X3D files checked in as these will be overwritten.

John

Sent from Mail for Windows 10

From: Don Brutzman
Sent: Monday, February 20, 2017 12:56 PM
To: X3D Graphics public mailing list
Cc: Roy Walmsley; John Carlson
Subject: Re: X3DJSAIL progress report

X3D Java Scene Access Interface Library (X3DJSAIL) provides standard X3D Java interfaces with concrete implementation classes, all as open source.

Goals include making it easy to create an X3D scene graph using Java, while also making it hard to create an incorrect or invalid X3D model.

Further progress and new update released, online at

	http://www.web3d.org/specifications/java/X3dJavaSceneAuthoringInterface.html
	http://www.web3d.org/specifications/java/javadoc

Autogenerated source code improvements are continuing.  Support for field-type objects (SFBoolObject, MFVec3fObject) is now more complete and useful for programming values that can be inserted as attribute values in the scene graph.

	Package org.web3d.x3d.jsail.fields
	The fields subpackage is provided for creating typed X3D field values and also includes various utility capabilities.
	http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/fields/package-summary.html

A new X3DLoaderObject is nearly ready that can read .x3d scenes using native Java DOM support, using Java Reflection to then create strongly typed X3DJSAIL scene objects.  Almost there but debugging continues (some attribute values are somehow getting scrambled) and online at

	X3DLoaderObject
	Concrete class for loading an X3D graphics string, file or fragment encoded in XML.
	http://www.web3d.org/specifications/java//javadoc/org/web3d/x3d/jsail/X3DLoaderObject.html
methods
	getDomDocument() isLoadSuccessful() getValidationResult() getX3dObjectTree()
	loadX3DfromFile(x3dFile) toStringX3D(org.w3c.dom.Node node) toX3dObjectTree(org.w3c.dom.Node node)

Example result (still debugging)

	https://svn.code.sf.net/p/x3d/code/www.web3d.org/x3d/stylesheets/java/examples/HelloWorldProgramOutput.Reloaded.x3d
	http://www.web3d.org/specifications/java/examples/HelloWorldProgram.Reloaded.java

Problem with website access, the new example file linked above is present in the directory but apparently not retrievable.  Mantis issue submitted for website.

	1138: X3DJSAIL example directory and specific file not visible
	http://www.web3d.org/member-only/mantis/view.php?id=1138

Comprehensive X3DJSONLD unit tests by John Carlson using the X3D Examples Archives have revealed a number of bugs and worthy enhancements.  Steady improvements continue.

	X3DJSONLD
	https://github.com/coderextreme/X3DJSONLD

	X3D Examples Archives
	http://www.web3d.org/x3d/content/examples/X3dResources.html#Examples

Have fun with X3D Java using X3DJSAIL!  8)

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170221/52b4bdc5/attachment-0001.html>


More information about the x3d-public mailing list