[x3d-public] please review X3DJSONLD document for clarity, provide feedback. Thanks!

John Carlson yottzumm at gmail.com
Thu Jun 28 11:33:10 PDT 2018


Here’s a new version of the X3DJSONLD tutorial (not the web page, but can be used to program a web page).

https://github.com/coderextreme/X3DJSONLD/blob/master/doc/X3DJSONLoaderTutorial.pptx?raw=true

Generally, as opposed to this document, one will use JSON URLs (and perhaps inlines) in place of WRL and XML URLs with dev version of X3DOM and 4.1.5 (or higher) X_ITE.   There are also ways to load JS objects in X3DOM and X_ITE (please let me know if you’re doing this) without using X3DJSONLD (That is, there’s no real reason to use X3DJSONLD unless you’re interested in interactive authoring, file conversions, roundtripping or schema generation). You can find these mechanisms used in various places in X3DJSONLD (src/main/html/prototypes.html comes to mind).

This document was taken from an older version, and some old cruft may still exist in it.  Beware!

Note that VRML scripts and shaders work best as separate files in X_ITE. Working on data: and ecmascript: URLs (well, asking Holger for help).

I use  X3DJSONLD/src/main/shell/generateSchema.sh to generate X3D JSON schemas.

The prototype expander has an existing bug where properties are placed on the wrong object.   Oops!

Good luck!

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180628/afad0a8a/attachment.html>


More information about the x3d-public mailing list