[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [www-vrml] vrml/x3d in frames
Plugs aren't really needed here, this can be done using only the
Cortona Automation interface. First you must create a javascript function in
the HTML page and call Advise() for some eventOut or exposedField in the
VRML scene, setting this function as the event handler:
Cortona1.Engine.Nodes("SomeNodeName").Fields("someEventOut").Advise(someFunc
tion,"");
When the event is fired, it runs this function, which can change
something in the other Cortona control:
function someFunction(value,hint,timestamp){
Cortona2.Engine.Nodes("SomeNodeName").Fields("someEventIn").Value=value.Valu
e;
}
Though, George's Plugs can be useful to transmit information between
different HTML windows or between computers in a local network.
Sergey
Bederov
-----Original Message-----
From: George Birbilis [mailto:birbilis@kagi.com]
Sent: Friday, October 01, 2004 4:58 PM
To: Eric Maranne; 'Kay Melzer'; www-vrml@web3d.org
Subject: Re: [www-vrml] vrml/x3d in frames
without a web server on the client, see my Plugs ActiveX controls and the
VRML Cannons multiplier game on my website (for PG's Cortona, made by Sergey
Bederov from ParallelGraphics)
it's at
http://members.fortunecity.com/birbilis/Plugs
you do just one-two lines of scripting to setup publisher identies and to
which publisher ids each consumer listens to and similarly to send or
receive message strings
cheers,
George
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <birbilis@kagi.com> [Microsoft MVP J#]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime VCL and ActiveX controls (for PowerPoint/VB/Delphi etc.)
+ Plugs VCL and ActiveX controls (InterProcess/Internet communication)
+ TransFormations, VB6 forms to ASP.net WebForms convertion
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
........................................................................
> I find it the most flexible, robust, less error prone, and mostly
reusable
> approach.
> Used with Cortona COM EAI, you may even embed the server (and clients) as
a
> PROTO instance in your model... And you just don't need anymore fiddling
> with external wiring (PHP/Java or else): node events are simply
propagating
> from one model to the other.
> Note this allows you to communicate from frame to frame, or from browser
to
> browser, but from machine to machine too ... Without changing a single
line
> anywhere (just have a different IP to set for connection ...).
> Thumbs up to parallelgraphics folks for this implementation.
> If not using Cortona, then you'll have to wire things somehow externally.
I
> didn't have time yet to explore an emulation of this COM access wrapped in
> PROTO thru Contact's devicesensor (might be possible), nor thru Flux or
amaf
> any other x3D browser.
> Note that any browser is able to do this thru EAI if wrapped in an
> application as an ActiveX (Free the plugins from Browsers walls !)
>
> Eric
> BTW, Kay, thanks for the devices links.
>
> -----Message d'origine-----
> De : owner-www-vrml@web3d.org [mailto:owner-www-vrml@web3d.org] De la part
> de Kay Melzer
> Envoyé : jeudi 30 septembre 2004 22:11
> À : www-vrml@web3d.org
> Objet : RE: [www-vrml] vrml/x3d in frames
>
> Or you create an independent system (all browsers usable) which syncs via
> internal script nodes and a server (e.g. php or java servlet). The server
> can be locally installed (e.g. bigapache or apachefriends xampp for
windows
> or lampp for linux or ). Sounds complicated but is very easy and the most
> compatible method for vrml2.0 and x3d.
>
> Kay Melzer
>
> Dipl.Inform.(FH)
> FH-Dortmund - University of applied sciences Abteilung medizin-technische
> Informatik Department of medical computer sciences Dortmund - Germany
> Web: www.kays-gadgets.de / www.3d-node.com
>
> > -----Original Message-----
> > From: owner-www-vrml@web3d.org
> > [mailto:owner-www-vrml@web3d.org] On Behalf Of George Birbilis
> > Sent: Thursday, September 30, 2004 9:15 PM
> > To: david.arendash@manyone.net; Martin Channon; www-vrml@web3d.org
> > Subject: Re: [www-vrml] vrml/x3d in frames
> >
> > see at the ParallelGraphics site the Cortona or Cortona SDK for
> > similar examples with PG's Cortona VRML player (COM-based EAI and
> > Active scripting).
> > Cortona is VRML2.0 player, not X3D/VRML3.0 one yet
> >
> > > Flux example (uses spec SAI):
> > http://darendash.home.comcast.net/SAIDemo/SAIFrameSet.html
> > >
> > > Contact example: http://www.3dworlds.ca/2frames/index.htm
> > >
> > > Cheers
> > >
> > > Dave A.
> > >
> > >
> > > On Thu, 30 Sep 2004 14:06:18 -0400, Martin Channon wrote:
> > >
> > > >Greetings Folks, I'm still something of a stranger here,
> > mainly due
> > > >to being so new to VRML and X3D that I don't have much to
> > contribute.
> > > >Sorry about that. But I need help again with something.
> > I'm building
> > > >a complex application of VRML to scientific visualization. It will
> > > >involve various scenes in different HTML frames. I need to have
> > > >sensors in one frame control a switch node in another
> > frame. Is this
> > > >possible? Does anyone know where I can find an example of
> > the scripting for this? Thanks.
> > >
-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html
-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html