<div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12pt">> Oh, we’re getting CRUDy now…
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #202124; font-family: 'Google Sans', Roboto, arial, sans-serif; font-size: 20px; text-align: left; white-space: normal; background-color: #ffffff; float: none; display: inline;">"CRUD is an acronym that comes from the world of computer programming and refers to the four functions that are considered necessary to implement a persistent storage application: </span><strong style="background-color: rgba(80, 151, 255, 0.18); color: #040c28; font-weight: 500; font-family: 'Google Sans', Roboto, arial, sans-serif; font-size: 20px; text-align: left; white-space: normal;">create, read, update and delete</strong><span style="color: #202124; font-family: 'Google Sans', Roboto, arial, sans-serif; font-size: 20px; text-align: left; white-space: normal; background-color: #ffffff; float: none; display: inline;">." </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #202124; font-family: 'Google Sans', Roboto, arial, sans-serif; font-size: 20px; text-align: left; white-space: normal; background-color: #ffffff; float: none; display: inline;">I think x3d sai realtime anytime scene graph and event graph supports CRUD better than any other system. </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #202124; font-family: 'Google Sans', Roboto, arial, sans-serif; font-size: 20px; text-align: left; white-space: normal; background-color: #ffffff; float: none; display: inline;">Can we name a system with better CRUD than x3d right now? Seems like the idea here is to supply more CRUD functionality now provided by SAI to the author without resorting to script. </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #202124; font-family: 'Google Sans', Roboto, arial, sans-serif; font-size: 20px; text-align: left; white-space: normal; background-color: #ffffff; float: none; display: inline;">All Best,</span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #202124; font-family: 'Google Sans', Roboto, arial, sans-serif; font-size: 20px; text-align: left; white-space: normal; background-color: #ffffff; float: none; display: inline;">Joe</span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>

<div class="elnk-inline-message-container" style="border-left: 1px solid #aaa; box-sizing: border-box; padding: 10px 0 10px 15px; margin: 0;">
<p>-----Original Message-----<br>From: Joe D Williams <joedwil@earthlink.net><br>Sent: Sep 11, 2023 10:55 AM<br>To: John Carlson <yottzumm@gmail.com><br>Cc: X3D Graphics public mailing list <x3d-public@web3d.org><br>Subject: Re: [x3d-public] Proposed Standard additions. MFStringSequencer and MFNodeSequncer</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<div style="color: #000000; font-family: arial,sans-serif; font-size: 12pt;">
<p style="margin: 0.1rem 0; line-height: 1.0;">comments below</p>
</div>
<div class="elnk-inline-message-container" style="border-left: 1px solid #aaa; box-sizing: border-box; padding: 10px 0 10px 15px; margin: 0;">
<p>-----Original Message-----<br>From: John Carlson <yottzumm@gmail.com><br>Sent: Sep 11, 2023 8:45 AM<br>To: Joe D Williams <joedwil@earthlink.net><br>Cc: GPU Group <gpugroup@gmail.com>, X3D Graphics public mailing list <x3d-public@web3d.org><br>Subject: Re: [x3d-public] Proposed Standard additions. MFStringSequencer and MFNodeSequncer</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<div>
<div dir="auto">> With addroute and removeroute:  Do we have examples of these in action without scripting?</div>
<div dir="auto"> </div>
<div dir="auto">Not that I have seen. I don't think that is possible now. </div>
<div dir="auto"> </div>
<div dir="auto">> How about replaceroute (putroute) and queryroute (getroute)?</div>
</div>
<div dir="auto"> </div>
<div dir="auto">Please have a closer look at the SAI. </div>
<div dir="auto"> </div>
<div dir="auto">> Sounds very imperative, but SQL is declarative last i heard.</div>
<div dir="auto"> </div>
<div dir="auto">One example would be where a Humanoid is picking something up and so you want to be able to remove the item from where it was in the scene and add the item as a child of some part of the hand. Similarly, for animation sequencing, maybe just exchange one set of routes for another. </div>
<div dir="auto"> </div>
<div dir="auto">Probably no difference in the amount of user code, maybe even more, but really just a more declarative way to set a state of the scene and making standard capabilities of the SAI available to an author without resorting to a script. In fact, there should be many more ways to access more of the SAI from the otherwise mostly declarative x3d user code. The addChildren and removeChildren is so basic to x3d Transform set of interfaces and yet how do I do it without a Script?  </div>
<div dir="auto"> </div>
<div dir="auto">Thanks,</div>
<div dir="auto">Joe</div>
<div dir="auto"> </div>
<div dir="auto"> </div>
<div dir="auto"> </div>
<div dir="auto"> </div>
<div dir="auto">s</div>
<div dir="auto"> </div>
<div dir="auto"> </div>
<div dir="auto">Oh, we’re getting CRUDy now…</div>
<div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Mon, Sep 11, 2023 at 10:15 AM Joe D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank" rel="noopener">joedwil@earthlink.net</a>> wrote:</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: #cccccc;">
<div style="font-family: arial,sans-serif; font-size: 12pt; color: #000000;">
<p style="margin: 0.1rem 0px; line-height: 1; font-family: arial,sans-serif;">Great, another way to be able to do without scripting. AddChild, remove child, addroute removeroute.</p>
</div>
<div style="font-family: arial,sans-serif; font-size: 12pt; color: #000000;">
<p style="margin: 0.1rem 0px; line-height: 1; font-family: arial,sans-serif;">Joe</p>
<p style="margin: 0.1rem 0px; line-height: 1; font-family: arial,sans-serif;"> </p>
</div>
<div style="border-left-width: 1px; border-left-style: solid; box-sizing: border-box; padding: 10px 0px 10px 15px; margin: 0px; border-left-color: #aaaaaa;">
<p>-----Original Message-----<br>From: GPU Group <<a href="mailto:gpugroup@gmail.com" target="_blank" rel="noopener">gpugroup@gmail.com</a>><br>Sent: Sep 11, 2023 7:01 AM<br>To: X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" target="_blank" rel="noopener">x3d-public@web3d.org</a>><br>Subject: Re: [x3d-public] Proposed Standard additions. MFStringSequencer and MFNodeSequncer</p>
<p style="margin: 0.1rem 0px; line-height: 1;"> </p>
<div dir="ltr">
<div dir="ltr">
<p class="MsoNormal">Or rely on integerSequencer to generate integer index, and have a packed/contiguous list:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">StringSwitch - inputOnly SFInt32 set_index, outputOnly SFString value_changed, field MFString values</p>
<p class="MsoNormal">NodeSwitch - inputOnly SFInt32 set_index, outputOnly SFNode value_changed, field MFNode values?</p>
<p class="MsoNormal">Benefit, can generate more node types as needed with fewer lines of code.</p>
<p class="MsoNormal">Or could combine into one giant FieldChoice node with fields MFNode node_values, MFString string_values, MFDouble, MFFloat, MFTime, MFImage, MFMatrix3f ...</p>
<p class="MsoNormal">and outputOnly node_changed, string_changed, double_changed, float_changed, time_changed, image_changed, matrix3f_changed output fields,</p>
<p class="MsoNormal">and when set_index, it outputs any SF that are within the corresponding MF range?</p>
<p class="MsoNormal">Benefit: only one new node needed.</p>
<p class="MsoNormal">-Doug</p>
</div>
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Sun, Sep 10, 2023 at 11:36 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank" rel="noopener">yottzumm@gmail.com</a>> wrote:</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: #cccccc;">
<div dir="auto">We can do this with SAI by adding and removing routes.  But the question is, can we do it declaratively, without script?</div>
<div dir="auto"> </div>
<div dir="auto">John </div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Mon, Sep 11, 2023 at 12:23 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank" rel="noopener">yottzumm@gmail.com</a>> wrote:</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: #cccccc;">Say I want to take a [0,1] fraction key and map it to an MFString keyValue.  How do I do that in X3D?
<div dir="auto"> </div>
<div dir="auto">This might be used for alternating Text nodes, or ROUTEs (as nodes), see below.</div>
<div dir="auto"> </div>
<div dir="auto">Also, can I take a similar key fraction and map to keyValue MFNodes?</div>
<div dir="auto"> </div>
<div dir="auto">I realize that Switch plus and ScalarInterpolator would satisfy the latter.</div>
<div dir="auto"> </div>
<div dir="auto">I’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.</div>
<div dir="auto"> </div>
<div dir="auto">This seems like a very powerful feature!  I just don’t know how to route SFString events to route statements.  Is there an alternative?</div>
<div dir="auto"> </div>
<div dir="auto">Maybe I should create an Uber X3D?  Can we add DEF and name to ROUTEs, and make them first class nodes?</div>
<div dir="auto"> </div>
<div dir="auto">I’m not sure how performant this would be, or even how implementable. </div>
<div dir="auto"> </div>
<div dir="auto">It’s probably an idea to throw in the trash!  It’s derived from trying to reduce source code size.</div>
<div dir="auto"> </div>
<div dir="auto">Thanks!</div>
<div dir="auto"> </div>
<div dir="auto">John </div>
<div dir="auto"> </div>
<div dir="auto"> </div>
</blockquote>
</div>
</div>
_______________________________________________<br>x3d-public mailing list<br><a href="mailto:x3d-public@web3d.org" target="_blank" rel="noopener">x3d-public@web3d.org</a><br><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank" rel="noopener noreferrer">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></blockquote>
</div>
</div>
<p style="margin: 0.1rem 0px; line-height: 1;"> </p>
_______________________________________________<br>x3d-public mailing list<br><a href="mailto:x3d-public@web3d.org" target="_blank" rel="noopener">x3d-public@web3d.org</a><br><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank" rel="noopener noreferrer">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></blockquote>
</div>
</div>
</div>
</div>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
</div>

<p style="margin: 0.1rem 0; line-height: 1.0;"> </p></div>