<DIV><BR><BR>----- Original Message -----<BR>From: Joe D Williams &lt;joedwil@earthlink.net&gt;<BR>Date: Monday, February 1, 2010 10:20 pm<BR>Subject: Re: [X3D-Public] Open-Source Multi-User<BR>To: JOHN COADY &lt;johncoady@shaw.ca&gt;, Don Brutzman &lt;brutzman@nps.edu&gt;<BR>Cc: x3d-public@web3d.org<BR><BR>&gt; HI John,<BR>&gt; <BR>&gt; Good work and a lot of work.<BR>&gt; I wish I had seen this back then.<BR>&gt; <BR>&gt; Why do we have to do this?<BR>&gt; <BR>&gt; &nbsp; tmpScene = browser.createX3DFromString(s1);<BR>&gt; &nbsp; nodes = tmpScene.getRootNodes();<BR>&gt; &nbsp; scene = browser.getExecutionContext();<BR>&gt; &nbsp; // Nodes must be removed before adding to another scene<BR>&gt; &nbsp; for(j=0; j &lt; nodes.length; j++) {<BR>&gt; &nbsp;&nbsp;&nbsp; tmpScene.removeRootNode(nodes[j]);<BR>&gt; &nbsp;&nbsp;&nbsp; scene.addRootNode(nodes[j]);<BR>&gt; <BR>&gt; That is, why remove the root node from tmpScene before adding it <BR>&gt; to <BR>&gt; scene?<BR>&gt; <BR>&gt; Tony had described this in AjaX3D code and elsewhere as:<BR>&gt; "// Do a bit of work to deal with the quirky X3D add/remove root <BR>&gt; node <BR>&gt; paradigm"<BR>&gt; I never have understood that.<BR>&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>I don't know the reason for it but I took it from example B.3&nbsp; Create Nodes from Annex B in the ECMAScript spec.</DIV>
<DIV>&nbsp;</DIV>
<DIV><A href="http://web3d.org/x3d/specifications/ISO-IEC-19777-1-X3DLanguageBindings-ECMAScript/">http://web3d.org/x3d/specifications/ISO-IEC-19777-1-X3DLanguageBindings-ECMAScript/</A></DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&gt; When we have this:<BR>&gt; <BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scene = browser.getExecutionContext();<BR>&gt; <BR>&gt; then why not scene.getNamedNode() and replace fields directly, <BR>&gt; or <BR>&gt; add/replace Children? Do I have to deal directly with root nodes?<BR>&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; I use scene = browser.getExecutionContext(); in function B7 when I was testing adding a new&nbsp;node to an existing scene.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;I used getNamedNode in function B8 when I wanted to modify an existing node in a scene which has known DEF value.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The FLUX browser used a function called getNode to get a named node but this didn't work on Octaga browser. The getNamedNode worked on Octaga but not on FLUX. I'm not sure which one is supposed to be used according to the spec. That is why the code for function B8 handles these cases differently.</DIV>
<DIV><BR>&gt; Did these run well then? I can't get them loaded in any html <BR>&gt; browser <BR>&gt; now but will try some more. Actually the code doesn't look that <BR>&gt; much <BR>&gt; different between Flux and Octaga. Ever any comparison with BSContact?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; Yes these ran well, however function B7 did not work on the Octaga browser, only on the FLUX browser. I am using a windows XP machine with Internet Explorer. I never tried BSContact but you I suppose you can try it out for yourself and try adding BSContact plugin and have all 3 browsers running in the same web page and see if they behave the same way.</DIV>
<DIV><BR>&gt; <BR>&gt; Any other X3D browser makers want to get some examples similar <BR>&gt; to <BR>&gt; these?<BR>&gt; <BR>&gt; Thanks and Best Regards, '<BR>&gt; Joe<BR>&gt; www.hypermultimedia.com/ajax3d/<BR>&gt; 2006,2007<BR>&gt; <BR>&gt; ----- Original Message ----- <BR>&gt; From: "JOHN COADY" &lt;johncoady@shaw.ca&gt;<BR>&gt; To: "Don Brutzman" &lt;brutzman@nps.edu&gt;<BR>&gt; Cc: &lt;x3d-public@web3d.org&gt;<BR>&gt; Sent: Monday, February 01, 2010 2:17 PM<BR>&gt; Subject: Re: [X3D-Public] Open-Source Multi-User<BR>&gt; <BR>&gt; <BR>&gt; &gt; Hi<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;&nbsp; A few years ago I put together a website to <BR>&gt; compare External SAI <BR>&gt; &gt; between Octaga and FLUX players. I put the 2 players side by <BR>&gt; side on <BR>&gt; &gt; a webpage and then created a number of buttons to perform some <BR>&gt; &gt; External SAI functionality and see how the two browsers <BR>&gt; compared in <BR>&gt; &gt; handling the SAI commands. The website is<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;&nbsp; http://members.shaw.ca/johncoady/SAICompare.html<BR>&gt; &gt;<BR>&gt; &gt; By clicking on the buttons at the top of the page, the same <BR>&gt; content <BR>&gt; &gt; should show up in both browsers. However, I found that there <BR>&gt; were <BR>&gt; &gt; some differences in behaviour for a couple of the buttons. You <BR>&gt; can <BR>&gt; &gt; view the SAI source code for each of the tests by performing a <BR>&gt; &gt; view -&gt; source in your HTML browser when the above web page is <BR>&gt; &gt; loaded. At the time I created the website the browsers would <BR>&gt; load <BR>&gt; &gt; automatically if they were not present on your system, however <BR>&gt; I <BR>&gt; &gt; think that the FLUX browser has moved to Vivaty and may not <BR>&gt; load <BR>&gt; &gt; automatically anymore.<BR>&gt; &gt;<BR>&gt; &gt; Regards<BR>&gt; &gt;<BR>&gt; &gt; John Coady<BR>&gt; &gt;<BR>&gt; &gt; ----- Original Message -----<BR>&gt; &gt; From: Don Brutzman &lt;brutzman@nps.edu&gt;<BR>&gt; &gt; Date: Monday, February 1, 2010 9:53 am<BR>&gt; &gt; Subject: Re: [X3D-Public] Open-Source Multi-User<BR>&gt; &gt; To: Russ Kinter &lt;pyth7@verizon.net&gt;<BR>&gt; &gt; Cc: X3D Graphics public mailing list &lt;x3d-public@web3d.org&gt;<BR>&gt; &gt;<BR>&gt; &gt;&gt; Russ, thanks for the exciting "heads up" about this development.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; As you may have notices, we are working on good exemplar scenes<BR>&gt; &gt;&gt; that demonstrate proper use of external SAI with HTML using <BR>&gt; &gt;&gt; Javascript<BR>&gt; &gt;&gt; or Java.&nbsp; Surprisingly we've found very few common<BR>&gt; &gt;&gt; examples.&nbsp; I hope<BR>&gt; &gt;&gt; that this team can please consider releasing some advance<BR>&gt; &gt;&gt; examples to<BR>&gt; &gt;&gt; the X3D Working group (or publicly if you prefer) so that we <BR>&gt; can <BR>&gt; &gt;&gt; work<BR>&gt; &gt;&gt; towards consistent definition of best practices.&nbsp; POCs are<BR>&gt; &gt;&gt; Joe Williams<BR>&gt; &gt;&gt; with John Stewart, Johannes Behr and myself tracking this challenge<BR>&gt; &gt;&gt; during our weekly HTML5-X3D teleconferences.&nbsp; TIA, good<BR>&gt; &gt;&gt; luck with your<BR>&gt; &gt;&gt; work.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; all the best, Don<BR>&gt; &gt;&gt; -- <BR>&gt; &gt;&gt; Don Brutzman&nbsp; Naval Postgraduate School, Code<BR>&gt; &gt;&gt; <BR>&gt; USW/Br&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; brutzman@nps.edu<BR>&gt; &gt;&gt; Watkins 270&nbsp;&nbsp; MOVES Institute, Monterey CA 93943-5000<BR>&gt; &gt;&gt; USA&nbsp; work +1.831.656.2149<BR>&gt; &gt;&gt; X3D, virtual worlds, underwater robots, XMSF<BR>&gt; &gt;&gt; http://web.nps.navy.mil/~brutzman<BR>&gt; &gt;&gt; _______________________________________________<BR>&gt; &gt;&gt; X3D-Public mailing list<BR>&gt; &gt;&gt; X3D-Public@web3d.org<BR>&gt; &gt;&gt; http://web3d.org/mailman/listinfo/x3d-public_web3d.org<BR>&gt; &gt;&gt;<BR>&gt; &gt;<BR>&gt; <BR>&gt; <BR>&gt; -----------------------------------------------------------------<BR>&gt; ---------------<BR>&gt; <BR>&gt; <BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; X3D-Public mailing list<BR>&gt; &gt; X3D-Public@web3d.org<BR>&gt; &gt; http://web3d.org/mailman/listinfo/x3d-public_web3d.org<BR>&gt; &gt; <BR>&gt; <BR>&gt; </DIV>