<html>
    <head>
        <title></title>
    </head>
    <body style="margin: 0pt; padding: 0pt;">
        Sorry, I don't know........<br /><blockquote type="cite">
        <p>-------- Original-Nachricht --------<br />Datum: Fri, 3 Sep 2010 15:22:00 +0200<br />Von: Sven-Erik Tiberg <Sven-Erik.Tiberg@ltu.se><br />An: "'Christoph Valentin'" <christoph.valentin@gmx.at><br />CC: "x3d-public@web3d.org" <x3d-public@web3d.org>, Tom Sparks <tom_a_sparks@yahoo.com.au><br />Betreff: RE: [X3D-Public] XMPP or not XMPP<br /><br /></p>
        <div align="left" dir="ltr"><span class="188111513-03092010"><font size="2" face="Arial" color="#0000ff">Hi Christoph </font></span></div>
        <div align="left" dir="ltr"> <span class="188111513-03092010"><font size="2" face="Arial" color="#0000ff"></font></span> </div>
        <div align="left" dir="ltr"><span class="188111513-03092010"><font size="2" face="Arial" color="#0000ff">About a dispatcher, do you think that ejabberd <a href="http://www.ejabberd.im/">http://www.ejabberd.im/</a> could be  usefull? </font></span></div>
        <div> <font size="2" face="Arial" color="#0000ff"></font> </div>
        <div> <span class="188111513-03092010"></span><font face="Arial"><font color="#0000ff"><font size="2"><span class="188111513-03092010">On t</span><span class="188111513-03092010">he issue "only local on the mashine" my thought was to  have a local grapical displayer of a simulation and a physical engine on the  same mashine.</span></font></font></font> </div>
        <div> <font><font color="#0000ff"><font size="2"><span class="188111513-03092010"></span></font></font></font><span class="188111513-03092010"></span><font face="Arial"><font color="#0000ff"><font size="2">G<span class="188111513-03092010">raphical display ( and interaction )  would be any X3D browser and physical engine could be a model running in a  simulation engine.</span></font></font></font> </div>
        <div> <font><font color="#0000ff"><font size="2"><span class="188111513-03092010"></span></font></font></font><font size="2" face="Arial" color="#0000ff"><span class="188111513-03092010">Anyone knowing if this could  be done with AJAX or XMPP/jabber?</span></font> </div>
        <div> <br /><span class="188111513-03092010"><font size="2" face="Arial" color="#0000ff">/Sven-Erik</font></span> </div>
        <div lang="en-us" align="left" dir="ltr" class="OutlookMessageHeader"> <hr /> <font size="2" face="Tahoma"><strong>From:</strong> Christoph Valentin  [mailto:<a href="http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=28383878&t=de984413474.1283530394.4e583488&to=christoph.valentin%40gmx.at">christoph.valentin@gmx.at]</a> <br /><strong>Sent:</strong> den 2 september 2010  18:17<br /><strong>To:</strong> Sven-Erik Tiberg<br /><strong>Cc:</strong> <a href="http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=28383878&t=de984413474.1283530394.4e583488&to=x3d-public%40web3d.org">x3d-public@web3d.org;</a> Tom  Sparks<br /><strong>Subject:</strong> Re: [X3D-Public] XMPP or not XMPP<br /></font><br /> </div>
        <div> </div>
        Hi Sven-Erik<br /><br />Don't know much about simulation engines, but  maybe can contribute "my two cent".<br /><br />>  <span class="yiv1888844435013381811-02092010"><font size="2" face="Arial" color="#0000ff">The  intention are to use the same script for all transfere of states over  the network or only local in the mashine.</font></span> <span class="yiv1888844435013381811-02092010"></span><br /><br />If you use TCP/IP for  transmission, and if you assume an IP stack always being present, you can  delegate the "local/remote" decision to the IP stack. Use "localhost"/127.0.0.1  as destination address and the "short cut" will be done by the IP stack (saving  development effort on the cost of some additional computational overhead,  keeping scripts simple).<br />I had a similar problem in the "SrrTrains" project,  where I rely on the "EventStreamSensor" / "NetworkSensor" and I aimed to support  single-player-mode without(!) collaboration server. Unfortunately,  "EventStreamSensor"/"NetworkSensor" don't support "single-player-mode without  collaboration server", but only "single-player-mode with collaboration server"  (which is nothing else than a multi-player session, that hosts only one user  accidentally). I had to implement some if()s to bypass  "EventStreamSensor"/"NetworkSensor" in case of single-player-mode.<br /><br />>  <span class="yiv1888844435013381811-02092010"><font size="2" face="Arial" color="#0000ff">Primarily I'v taken the example to have a MU 3D space with many 3D  clients and one or more servers. </font></span>
        <div><span class="yiv1888844435013381811-02092010"><font size="2" face="Arial" color="#0000ff">Secondly one computer hosting both a 3D Browser and a  simulation/animation engine.</font></span></div>
        <span class="yiv1888844435013381811-02092010"></span><br />So you have an m:n relationship  between clients and servers. I assume, that servers will not be added or removed  frequently, unless you add or remove models dynamically.<br /><br />Starting up and  terminating clients will change the communication relations on the other hand,  you will have to update all servers to tell them, to which addresses the states  will have to be distributed.<br /><br />What about having a dispatcher in between,  such that you have:<br />     m  clients     ---     1  dispatcher     ---     n  servers<br /><br />Kind regards<br />Christoph<br /><blockquote type="cite">
        <p>-------- Original-Nachricht --------<br />Datum: Thu, 2 Sep 2010 04:53:26    -0700 (PDT)<br />Von: Tom Sparks <a href="http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=28383878&t=de984413474.1283530394.4e583488&to=%26lt%3Btom_a_sparks%40yahoo.com.au"><tom_a_sparks@yahoo.com.au></a><br />An:    'Christoph Valentin' <a href="http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=28383878&t=de984413474.1283530394.4e583488&to=%26lt%3Bchristoph.valentin%40gmx.at"><christoph.valentin@gmx.at></a>, Sven-Erik Tiberg    <a href="http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=28383878&t=de984413474.1283530394.4e583488&to=%26lt%3BSven-Erik.Tiberg%40ltu.se"><Sven-Erik.Tiberg@ltu.se></a><br />CC: "<a href="http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=28383878&t=de984413474.1283530394.4e583488&to=x3d-public%40web3d.org">x3d-public@web3d.org"</a>    <a href="http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=28383878&t=de984413474.1283530394.4e583488&to=%26lt%3Bx3d-public%40web3d.org"><x3d-public@web3d.org></a><br />Betreff: Re: [X3D-Public] XMPP or not    XMPP<br /><br /></p>
        <table cellspacing="0" cellpadding="0" border="0">
            <tbody>
                <tr>
                    <td valign="top">--- On <strong>Thu, 2/9/10, Sven-Erik Tiberg          <em><a href="http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=28383878&t=de984413474.1283530394.4e583488&to=%26lt%3BSven-Erik.Tiberg%40ltu.se"><Sven-Erik.Tiberg@ltu.se></a></em></strong> wrote:<br /><blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid;"> <br />From:            Sven-Erik Tiberg <Sven-Erik.Tiberg@ltu.se><br />Subject: Re:            [X3D-Public] XMPP or not XMPP<br />To: "'Christoph Valentin'"            <christoph.valentin@gmx.at><br />Cc: "x3d-public@web3d.org"            <x3d-public@web3d.org><br />Received: Thursday, 2 September, 2010,            9:28 PM<br /><br />
                    <div id="yiv1888844435">           <style type="text/css"></style> <style type="text/css"></style>
                    <div align="left" dir="ltr"><span class="yiv1888844435013381811-02092010"><font size="2" face="Arial" color="#0000ff">Hi Christioph</font></span></div>
                    <div align="left" dir="ltr"> <span class="yiv1888844435013381811-02092010"></span> </div>
                    <div align="left" dir="ltr"><span class="yiv1888844435013381811-02092010"><font size="2" face="Arial" color="#0000ff">The intention are to use the same script for            all transfere of states over the network or only local in the            mashine.</font></span></div>
                    <div align="left" dir="ltr"><span class="yiv1888844435013381811-02092010"><font size="2" face="Arial" color="#0000ff">If local the script would transfere states between a            X3Dbrowser and a simulation/animation engine on the same            computer.</font></span></div>
                    <div align="left" dir="ltr"><span class="yiv1888844435013381811-02092010"><font size="2" face="Arial" color="#0000ff">If MU the script will transfer states over the            network to either another or many X3Dbrowser or / and one or more            simulation/animation engine on one or many  servers.</font></span></div>
                    <div> </div>
                    <div><span class="yiv1888844435013381811-02092010"><font size="2" face="Arial" color="#0000ff">Primarily I'v taken the example to have a MU 3D            space with many 3D clients and one or more servers.            </font></span></div>
                    <div><span class="yiv1888844435013381811-02092010"><font size="2" face="Arial" color="#0000ff">Secondly one computer hosting both a 3D Browser            and a simulation/animation engine.</font></span></div>
                    <div> <span class="yiv1888844435013381811-02092010"></span> </div>
                    <div><font size="2" face="Arial" color="#0000ff"><span class="yiv1888844435013381811-02092010">If it's possible to use js or            ajax as a network extension to any 3D Browser I will get a cace and            celibrate with my collegues.</span></font></div>
                    <div><font size="2" face="Arial" color="#0000ff"><span class="yiv1888844435013381811-02092010">A dinner when we got the MU            running and guess what when we got a MU with simulation engines            runing. :)</span></font></div>
                    <div> <font size="2" face="Arial" color="#0000ff"><span class="yiv1888844435013381811-02092010"></span></font> </div>
                    <div><font size="2" face="Arial" color="#0000ff"><span class="yiv1888844435013381811-02092010">/Sven-Erik </span></font></div>
                    </div>
                    </blockquote>
                    <div id="yiv1888844435">
                    <div> there is a catch in simulation/animation engine that are          server side<br />you'll need to use something like <span style="font-weight: bold;"></span>Discrete Event Simulation (<a href="http://www.cs.brown.edu/~scd/world/sim.html)">http://www.cs.brown.edu/~scd/world/sim.html)</a><br /><br />tom<br /> </div>
                    </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <br /> </blockquote>
        <div class="signature"> <br /><br /><br />-- <br />GMX.at - Österreichs FreeMail-Dienst mit  über 2 Mio Mitgliedern<br />E-Mail, SMS & mehr! Kostenlos:  <a href="http://portal.gmx.net/de/go/atfreemail">http://portal.gmx.net/de/go/atfreemail</a></div>
        </blockquote>
    <div class="signature"><br /><br /><br />-- <br />Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -<br />jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser</div></body>
</html>