[x3d-public] [x3dom-developers] [x3dom-users] simple X3D -> JSON -> X3DOM, D3.js

Cecile Muller newsletter at wildpeaks.fr
Thu Feb 19 00:59:19 PST 2015


Hi John,


> Also, you may be surprised [...]

After 15+ years of javascript, not really :)


> at the ordering of your object names  when going through them in a loop,
like:
> for (name in object ) in JavaScript.

My goal is to have it similar to the simplicity of VRML / classic encoding..
MFNode are converted to arrays to keep the order, but SFNode doesn't need
to care about the order of its properties given:

Shape {
appearance [...]
geometry [...]
}

is the same as:

Shape {
geometry [...]
appearance [...]
}

If you want to keep the order of properties as well, feel free to use a
different format.


See you,
Cecile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20150219/a55da220/attachment-0001.html>


More information about the x3d-public mailing list