<div dir="auto">I don’t mind replacing the whole route, but how can I programmatically find the route in DOM, VRML or XML declaratively without DEF or name?  Do I have to use XPath with the main four fields?</div><div dir="auto"><br></div><div dir="auto">The route statement doesn’t doesn’t have to become a full node.  I’ll take that back.</div><div dir="auto"><br></div><div dir="auto">Did the id attribute make it into x3d4?  How many browsers implement it?</div><div dir="auto"><br></div><div dir="auto">I’m looking at tooltips (say 4.0 draft).  And the x3d4, haven’t found it yet. </div><div dir="auto"><br></div><div dir="auto">There’s a browser support document for nodes.  Does that include common attributes, like id, class and style ?</div><div dir="auto"><br></div><div dir="auto">John </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 11, 2023 at 2:04 PM Joe D Williams <<a href="mailto:joedwil@earthlink.net">joedwil@earthlink.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><a href="https://mitra.biz/vrml/vrml2/sgi_design_15jan96.html" rel="noreferrer" target="_blank">https://mitra.biz/vrml/vrml2/sgi_design_15jan96.html</a> . It gives specific reasons for the design and abilities of ROUTEs which I think are still valid.<br>
<br>
Right, the way read it was can't just replace the TO field of a ROUTE, I have to replace the entire ROUTE. <br>
Same with MF field, if I want to update just one SF value, I have to send the entire MF field (?). <br>
Thanks,<br>
Joe<br>
<br>
-----Original Message-----<br>
From: Vincent Marchetti <<a href="mailto:vmarchetti@kshell.com" target="_blank">vmarchetti@kshell.com</a>><br>
Sent: Sep 11, 2023 8:31 AM<br>
To: X3D-Public <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>
Subject: Re: [x3d-public] Proposed Standard additions. MFStringSequencer and MFNodeSequncer<br>
<br>
I don't want to discourage anyone from trying any idea in programming, or even discuss potential design of a system which take the current X3D as a jump off point for a much different type of architecture, but I judge that making the ROUTE statements in a scene description modifiable via events. should be far over the horizon for the X3D development and maintenance team, and to be blunt should be pursued in a separate forum such as a github project or Slack channel.<br>
<br>
We have several X3D viewers which are open source and lend themselves to being forked and modified to allow modifying the ROUTEs in real time, but these projects should be identified as no longer X3D viewers but a different (possibly much better, I allow) 3D authoring system.<br>
<br>
I refer anyone to an interesting document on the design of VRML 2, this document is at <a href="https://mitra.biz/vrml/vrml2/sgi_design_15jan96.html" rel="noreferrer" target="_blank">https://mitra.biz/vrml/vrml2/sgi_design_15jan96.html</a> . It gives specific reasons for the design and abilities of ROUTEs which I think are still valid.<br>
<br>
Vince Marchetti<br>
<br>
<br>
> On Sep 11, 2023, at 11:14 AM, Joe D Williams wrote:<br>
><br>
> Great, another way to be able to do without scripting. AddChild, remove child, addroute removeroute.<br>
> Joe<br>
><br>
> -----Original Message-----<br>
> From: GPU Group<br>
> Sent: Sep 11, 2023 7:01 AM<br>
> To: X3D Graphics public mailing list<br>
> Subject: Re: [x3d-public] Proposed Standard additions. MFStringSequencer and MFNodeSequncer<br>
><br>
><br>
> Or rely on integerSequencer to generate integer index, and have a packed/contiguous list:<br>
><br>
><br>
> StringSwitch - inputOnly SFInt32 set_index, outputOnly SFString value_changed, field MFString values<br>
><br>
> NodeSwitch - inputOnly SFInt32 set_index, outputOnly SFNode value_changed, field MFNode values?<br>
><br>
> Benefit, can generate more node types as needed with fewer lines of code.<br>
><br>
> Or could combine into one giant FieldChoice node with fields MFNode node_values, MFString string_values, MFDouble, MFFloat, MFTime, MFImage, MFMatrix3f ...<br>
><br>
> and outputOnly node_changed, string_changed, double_changed, float_changed, time_changed, image_changed, matrix3f_changed output fields,<br>
><br>
> and when set_index, it outputs any SF that are within the corresponding MF range?<br>
><br>
> Benefit: only one new node needed.<br>
><br>
> -Doug<br>
><br>
><br>
> On Sun, Sep 10, 2023 at 11:36 PM John Carlson wrote:<br>
> We can do this with SAI by adding and removing routes. But the question is, can we do it declaratively, without script?<br>
><br>
> John<br>
><br>
> On Mon, Sep 11, 2023 at 12:23 AM John Carlson wrote:<br>
> Say I want to take a [0,1] fraction key and map it to an MFString keyValue. How do I do that in X3D?<br>
><br>
> This might be used for alternating Text nodes, or ROUTEs (as nodes), see below.<br>
><br>
> Also, can I take a similar key fraction and map to keyValue MFNodes?<br>
><br>
> I realize that Switch plus and ScalarInterpolator would satisfy the latter.<br>
><br>
> I&rsquo;m not clear on how to do the former. This would be key to sending events to ROUTEs, changing the from/to node names and fields.<br>
><br>
> This seems like a very powerful feature! I just don&rsquo;t know how to route SFString events to route statements. Is there an alternative?<br>
><br>
> Maybe I should create an Uber X3D? Can we add DEF and name to ROUTEs, and make them first class nodes?<br>
><br>
> I&rsquo;m not sure how performant this would be, or even how implementable.<br>
><br>
> It&rsquo;s probably an idea to throw in the trash! It&rsquo;s derived from trying to reduce source code size.<br>
><br>
> Thanks!<br>
><br>
> John<br>
><br>
><br>
> _______________________________________________<br>
> x3d-public mailing list<br>
> <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
><br>
> _______________________________________________<br>
> x3d-public mailing list<br>
> <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
<br>
<br>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
<br>
<br>
<br>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>