Hi Jung Lee,

Jung Lee wrote:
> Hello great OpenSG users,
>
> I have two simple questions on data exchange in the cluster mode of OpenSG.
>
> Q1: When running an OpenSG application on a linux cluster, what data are
> exchanged between nodes in the cluster?  are they graphics primitives, kind
> of message, thread data, parts of scenegraph or anything else?
>   
OpenSG synchronizes anything that is derived from FieldContainer. That 
basically includes the whole scenegraph and everything that hangs from 
it as well as Windows, Viewports, Cameras etc. You can also create your 
own classes, as long as they are derived from FieldContainer (created 
using fcdEdit or fcd2code resp.) they will be sent across the cluster. 
This is the basic mechanism.

It then is used by the cluster servers to open up local windows and draw 
the part of the screen that they're assigned to. That is just one way of 
using it though. the cluster synchronisation is more general.
> Q2: Also, I was wondering how OpenSG processes several input events. For
> example, If a user gives a mouse event (through GLUT?) in a head
> workstation, how is it sent to each node in cluster?
>   
It isn't. The only thing that is sent are the effects on the scenegraph. 
There is only application running oin teh master node that processes 
user input and simulation. Whatever it does to the scenegraph is 
synchronized, and only that.

If you want input distribution you can check out VRJuggler, that's how 
they do cluster sync. There are pros and cons to both approaches, but 
that's a different discussion.

Hope it helps

    Dirk


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to