[x3d-public] X3D JSON encoding: .x3d to .json stylesheet, examples available for continued work

Don Brutzman brutzman at nps.edu
Tue Oct 27 08:00:37 PDT 2015


Thanks for checking.

On 10/27/2015 12:48 AM, John Carlson wrote:
> Thanks for the work Don.  I have downloaded:
>
> http://x3dgraphics.com/X3dExamplesX3dForWebAuthors.zip
> http://www.web3d.org/x3d/content/examples/X3dExamplesBasic.zip
> http://www.web3d.org/x3d/content/examples/X3dExamplesConformanceNist.zip
> http://www.web3d.org/x3d/content/examples/X3dExamplesVrml2.0Sourcebook.zip

I got the source files updated last night but not all of the .zip files (too big for home bandwidth) so the .json files in some are out of date.  Am planning to refresh them later this morning.

> from:
>
> http://www.web3d.org/x3d/content/examples/X3dResources.html#Examples
>
> Could you provide checksums for these files?  It might help me determine if they are complete, the right file, not cached etc.

Interesting, good idea.  Haven't done that before but will look at it and try to automate.  Found some documentation:
https://ant.apache.org/manual/Tasks/checksum.html

> I don’t see much difference in the results of my node.js validator.  There are 702 failed, and 1486 succeeded out of a total of 2188 files, about 2/3s pass.  I don’t know if some of these files do not need to be validated, but since they have a .json extension, they would pass a simple JSON parse test.  One of us has to "go back... to the drawing board.

Looking at individual files first will give you current examples... the first three email attachments are a good start.  All of the direct .json links in the online examples are also current.  For those attached examples, here are the publication links with up-to-date versions:

http://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldScenes/#HelloWorld
http://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorld.xid
http://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorld.json

http://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/#Dodecahedron
http://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/Dodecahedron.x3d
http://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/Dodecahedron.json

http://x3dgraphics.com/examples/X3dForAdvancedModeling/Inspiration/#ObliqueStrategies
http://x3dgraphics.com/examples/X3dForAdvancedModeling/Inspiration/ObliqueStrategies.x3d
http://x3dgraphics.com/examples/X3dForAdvancedModeling/Inspiration/ObliqueStrategies.json

Each of these passes validation at
http://pro.jsonlint.com

At this stage of review, statistics aren't much help since it is the basic pattern we are trying to examine and reconcile.  Any changes we make will ripple through quickly.

> I will pursue checking the files out of svn.  I am attaching my results for your perusal.

None of the files get checked into subversion.  I only check in the .x3d source, not the derived translations.

> Off to do more digging,
>
> John

Thanks.

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