On 30. Apr 2009, at 14:20, Juan Hernando wrote: > I've been ready through the code and I think I pretty much get the > idea. > My problem is that I've become stuck in the initialization of the > identifiers I need. > I've defined a ditributed object and I have a packet that will pass > the > object ID and version to tell the other nodes what object has to be > mapped and when they have to synchronize. What I don't know is how to > send the packet to the other nodes. I could add the object ID in the > initialization data (as in InitData from eqPly) and then I don't > need to > send the packet, but that adds a nasty dependency between several > objects that I want to avoid. > So, is there an easy way of getting the NodeID or NodePtr references > for > all nodes in the configuration from the eq::Config, eq::Node or > similar > within the application node? If it's not that straightforward, it > there, > at least, a way to broadcast a packet?
Right now there is no way to broadcast data, since that wasn't needed so far. You can communicate the ID's back to the application using events (see Config::sendEvent in eqPixelBench). To send them back to the render clients, passing them through init/ frame data is the easiest solution. You could also manually connect the nodes (using the NodeID's) and send a packet to them with the information you need. HTH, Stefan. -- http://www.eyescale.ch http://www.equalizergraphics.com http://www.linkedin.com/in/eilemann _______________________________________________ eq-dev mailing list [email protected] http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev http://www.equalizergraphics.com

