[X3D-Public] For mutiple ROUTE fan-ins, how can we identify the sending node?
pyth7 at verizon.net
Sat Aug 21 23:10:31 PDT 2010
It sounds like a lesson could be learned from Java based multi-user systems
I suggest you look at the JSAI code from VNet still available here:
Of particular interest to you I think would be the JSAISceneInterface.java
and the Simple.wrl which references it.
It also seems to me that EAI or External SAI would be of more use to you for
this task as those specifications have EventOutObservers to detect changes
in a Node. The distribution of those changes (in the case of Deep Matrix)
across the network are dependent on SFString "tags" written into
The JSAI of VNet was only intended as a work-around for "Liquid Reality"
users to participate in V-Net - the EAI classes being the "real deal".
As far as I know only Xj3D has External SAI working at a useable level.
FreeWRL has the classes, but how well it works is doubtful. Instant Player
(as my site deepmatrix.org attests to) has a very functional EAI
implementation with the latest
From: x3d-public-bounces at web3d.org [mailto:x3d-public-bounces at web3d.org] On
Behalf Of Silvia Maria Batraneanu
Sent: Saturday, August 21, 2010 8:54 AM
To: X3D Graphics public mailing list
Subject: [X3D-Public] For mutiple ROUTE fan-ins,how can we identify the
I built a pretty complex scene which is used to monitor in real-time
the status of a big network. The majority of the nodes are prototypes and
are generated dynamically using the Java SAI. All of them are named and have
their attributes changed at a certain moment in time. I need to perform
identical actions such as current trafic information and plot retrieval and
often the most important information I need to pass via ROUTEs is the name
of the sending node itself.
The only way I could do this is to use inside my prototypes an additional
MFString parameter in which I store the node name and a very simple script
that refreshes the value of this string and hence creates an event which
allows me to route this value to the target node.
I find my way of doing it cumbersome but I have no other idea. Am I
missing something , is there a simple way of doing this? Did anybody else
bump into this?
Any help is greatly appreciated:)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the X3D-Public