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

Cecile Muller newsletter at wildpeaks.fr
Sat Feb 21 16:56:48 PST 2015


Hi John,


> how do you deal with four levels of transforms, say 1 parent transform,
> 2 children transforms, 4 grandchild transforms and 8 great-grandchild
transforms?
> Is this valid X3D?

Yes it's valid X3D because type "Transform" has a MFNode property "children"
to contain nested nodes, as defined in both VRML and X3D specs:
http://www.web3d.org/documents/specifications/19775-1/V3.2/Part01/components/group.html#Transform

But that it doesn't mean any node type can have nested nodes in a
"children" property:
"Transform" can because it has that property, but for example type
"MultiTexture"
has a MFNode property "texture" instead.


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


More information about the x3d-public mailing list