Shayne,
Right, you use the same scenegraph on all machines.
The following should work on the master:
osgcluster -m cow.osg
and on the slave:
osgcluster -s cow.osg
I just tested this and if you want to viewports to match, you'll need
to tweak the fov and offset parameters. With the above command line,
the slave will just show a portion of the view. If you zoom in from the
master window, the cow will eventually come into view on the slave.
Martins
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
Martins,
Thanks for the input. I was looking more for some command line examples on
how I would execute the osgCluster example where one machine is the master
and another is the slave. Obviously you should use the same scenegraph on
each machine right?
-Shayne
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Martins
Innus
Sent: Friday, December 18, 2009 11:27 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] help with osgCluster...
Shayne,
We run it under linux and if I remember correctly, it just
broadcasts
out to the local subnet based on whatever your broadcast mask is set to.
If you have multiple network interfaces, I think there is a spot in
the socket setup to specify which one you want. I don't have the code
in front of me right now, but thats how I recall it works. Let me know
if you need any more information.
Martins
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
All,
I'm looking at the osgCluster example and I have a question on getting
in going.
I'm assuming you can execute osgCluster on different machines where one
is the master and the other is the slave. I can see where I specify the
socket # but where do I specify the IP address? Does anyone have example
of executing osgCluster on different machines that would provide some
direction?
Any enlightenment would be appreciated.
-Shayne
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org