<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Had an idea some time ago to store protos as objects in a objectdb where metadata are converted into categories for the Odb search function. Conversion would preferable been done through a add-in fetching meta data and suggest categories for different classes of proto.</div><div><br></div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Sent from my Samsung Galaxy smartphone.</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: John Carlson <yottzumm@gmail.com> </div><div>Date: 7/19/18  13:28  (GMT+01:00) </div><div>To: vmarchetti@kshell.com, X3D-Public <x3d-public@web3d.org> </div><div>Subject: Re: [x3d-public] key-value database in VRML </div><div><br></div></div><div class="WordSection1"><p class="MsoNormal">I am actually thinking of the keys (names) as Shapes as well, like a key that unlocks a door.  Any key-value database that has keys as objects and values as objects should do (Thinking of Java public interface RenderableCollection extends Map<RenderableObject,RenderableObject>, RenderableObject {} or some such).  Perhaps an example would help?  But yeah, a switch in a proto might work.</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Has anyone done it?    What value might this lend to a web authoring environment?  How many web-based X3D authoring environments are there?</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">John</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p class="MsoNormal"><o:p> </o:p></p><div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:vmarchetti@kshell.com">vmarchetti@kshell.com</a><br><b>Sent: </b>Thursday, July 19, 2018 6:51 AM<br><b>To: </b><a href="mailto:yottzumm@gmail.com">John Carlson</a>; <a href="mailto:x3d-public@web3d.org">X3D-Public</a><br><b>Subject: </b>Re: [x3d-public] key-value database in VRML</p></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">The Metadata nodes could form the basis of a key-value database attached to X3D scene elements. It might be interesting to think about new nodes, implementable as Prototypes, that are motivated by treating each visual element's Metadata as a key-value set and performing search and comparison operations. -- for example, could you write a Prototype that was visually rendered as a Shape identified by some condition on the Shape's Metadata?<o:p></o:p></p><div><p class="MsoNormal"><o:p> </o:p></p><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal">Vince Marchetti<o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p><div><p class="MsoNormal"><br><br><o:p></o:p></p><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal">On Jul 19, 2018, at 4:26 AM, John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<o:p></o:p></p></div><p class="MsoNormal"><o:p> </o:p></p><div><div><p class="MsoNormal">Has anyone built a key-value database in VRML (not stored VRML in a key-value database)?<o:p></o:p></p></div><div><p class="MsoNormal"> <o:p></o:p></p></div><div><p class="MsoNormal">John<o:p></o:p></p></div><div><p class="MsoNormal"> <o:p></o:p></p></div><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monaco",serif">_______________________________________________<br>x3d-public mailing list<br></span><a href="mailto:x3d-public@web3d.org"><span style="font-size:9.0pt;font-family:"Monaco",serif;color:#954F72">x3d-public@web3d.org</span></a><span style="font-size:9.0pt;font-family:"Monaco",serif"><br></span><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org"><span style="font-size:9.0pt;font-family:"Monaco",serif;color:#954F72">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</span></a><o:p></o:p></p></div></blockquote></div></div></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><o:p> </o:p></p></div></body></html>