[x3d-public] Minimum legal root node
Joseph D Williams
joedwil at earthlink.net
Wed Apr 6 07:49:49 PDT 2022
➢ "I think we just wiped something out. "+selectorField+" is unavailable."
The dreaded I think we just … message.
To document paths, think of the x3d internal behavior graph which comes free and the only thing you may need to keep track of yourself is directOut(s). Just mind your fanins and fanouts, use timestamps to control loops, and don’t interrupt the cascade. How to make the a picture?
Thanks,
Joe
From: John Carlson
Sent: Tuesday, April 5, 2022 10:57 PM
To: Joseph D Williams
Cc: X3D Graphics public mailing list
Subject: Re: [x3d-public] Minimum legal root node
At one point I had suggested SFPath and MFPath as a way to traverse a hierarchy. That is, they pointed at lists of string | number.
Would doing something like this be useful? I may have a partial (at least for my purposes) solution here:
https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/route.js
On Tue, Apr 5, 2022 at 9:55 PM Joseph D Williams <joedwil at earthlink.net> wrote:
• My guess is #name is used as a selector to pull a specific node inside the JSON.
Right, we need a good way to get data for an x3d node’s field by specifying the .json file name and whatever hierarchy of names gets to the desired data field.
From: John Carlson
Sent: Tuesday, April 5, 2022 12:14 PM
To: Joseph D Williams
Cc: X3D Graphics public mailing list
Subject: Re: [x3d-public] Minimum legal root node
My guess is #name is used as a selector to pull a specific node inside the JSON.
On Tue, Apr 5, 2022 at 2:10 PM Joseph D Williams <joedwil at earthlink.net> wrote:
>From another discussion:
• > Shape { url='library.gltf#name }
showing example use of gltf in x3d, is this a case where it is not quite right to have a shape as a root node? Except that is, if the root node is a Shape using gltf? The gltf ‘node’ contains the stuff for a shape and its transform in its parent space. It is the lack of a parent grouping node that makes the use of Shape as a root node a problem, but the gltf node holds both.
Thanks,
Joe
_______________________________________________
x3d-public mailing list
x3d-public at web3d.org
http://web3d.org/mailman/listinfo/x3d-public_web3d.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220406/7ce815c0/attachment.html>
More information about the x3d-public
mailing list