[X3D-Public] Open-Source Multi-User

Joe D Williams joedwil at earthlink.net
Mon Feb 1 22:19:58 PST 2010


HI John,

Good work and a lot of work.
I wish I had seen this back then.

Why do we have to do this?

  tmpScene = browser.createX3DFromString(s1);
  nodes = tmpScene.getRootNodes();
  scene = browser.getExecutionContext();
  // Nodes must be removed before adding to another scene
  for(j=0; j < nodes.length; j++) {
    tmpScene.removeRootNode(nodes[j]);
    scene.addRootNode(nodes[j]);

That is, why remove the root node from tmpScene before adding it to 
scene?

Tony had described this in AjaX3D code and elsewhere as:
"// Do a bit of work to deal with the quirky X3D add/remove root node 
paradigm"
I never have understood that.

When we have this:

            scene = browser.getExecutionContext();

then why not scene.getNamedNode() and replace fields directly, or 
add/replace Children? Do I have to deal directly with root nodes?

Did these run well then? I can't get them loaded in any html browser 
now but will try some more. Actually the code doesn't look that much 
different between Flux and Octaga. Ever any comparison with BSContact?

Any other X3D browser makers want to get some examples similar to 
these?

Thanks and Best Regards, '
Joe
www.hypermultimedia.com/ajax3d/
2006,2007

----- Original Message ----- 
From: "JOHN COADY" <johncoady at shaw.ca>
To: "Don Brutzman" <brutzman at nps.edu>
Cc: <x3d-public at web3d.org>
Sent: Monday, February 01, 2010 2:17 PM
Subject: Re: [X3D-Public] Open-Source Multi-User


> Hi
>
>   A few years ago I put together a website to compare External SAI 
> between Octaga and FLUX players. I put the 2 players side by side on 
> a webpage and then created a number of buttons to perform some 
> External SAI functionality and see how the two browsers compared in 
> handling the SAI commands. The website is
>
>   http://members.shaw.ca/johncoady/SAICompare.html
>
> By clicking on the buttons at the top of the page, the same content 
> should show up in both browsers. However, I found that there were 
> some differences in behaviour for a couple of the buttons. You can 
> view the SAI source code for each of the tests by performing a 
> view -> source in your HTML browser when the above web page is 
> loaded. At the time I created the website the browsers would load 
> automatically if they were not present on your system, however I 
> think that the FLUX browser has moved to Vivaty and may not load 
> automatically anymore.
>
> Regards
>
> John Coady
>
> ----- Original Message -----
> From: Don Brutzman <brutzman at nps.edu>
> Date: Monday, February 1, 2010 9:53 am
> Subject: Re: [X3D-Public] Open-Source Multi-User
> To: Russ Kinter <pyth7 at verizon.net>
> Cc: X3D Graphics public mailing list <x3d-public at web3d.org>
>
>> Russ, thanks for the exciting "heads up" about this development.
>>
>> As you may have notices, we are working on good exemplar scenes
>> that demonstrate proper use of external SAI with HTML using 
>> Javascript
>> or Java.  Surprisingly we've found very few common
>> examples.  I hope
>> that this team can please consider releasing some advance
>> examples to
>> the X3D Working group (or publicly if you prefer) so that we can 
>> work
>> towards consistent definition of best practices.  POCs are
>> Joe Williams
>> with John Stewart, Johannes Behr and myself tracking this challenge
>> during our weekly HTML5-X3D teleconferences.  TIA, good
>> luck with your
>> work.
>>
>> all the best, Don
>> -- 
>> Don Brutzman  Naval Postgraduate School, Code
>> USW/Br           brutzman at nps.edu
>> Watkins 270   MOVES Institute, Monterey CA 93943-5000
>> USA  work +1.831.656.2149
>> X3D, virtual worlds, underwater robots, XMSF
>> http://web.nps.navy.mil/~brutzman
>> _______________________________________________
>> X3D-Public mailing list
>> X3D-Public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
>


--------------------------------------------------------------------------------


> _______________________________________________
> X3D-Public mailing list
> X3D-Public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
> 




More information about the X3D-Public mailing list