Hello Hanno,
On 27. Jul 2009, at 17:32, Hanno Hugenberg (via Nabble) wrote:
> I just stumbled uppon this website and thought it might be perfect
> for this purpouse.
>
> Does anyone of you have created something similar with nvsg and
> equalizer? Are there some existing projects in this direction?
I am working in a commercial project which is using nvsg internally,
and for this we have implemented data distribution based on
eq::net::Object. This is to say: Yes, it's possible and it's actually
not too hard. This source code is not available.
The Programming Guide explains how to implement data distribution.
Since it's unlikely that you can modify NVSG, I recommend the multiple
inheritance approach - see the latest PG for details. Contact me via
email and I send you a copy w/out filling out the survey.
The bulk of the work is implementing automatic change tracking and
serialization. I don't know if nvsg has dirty marking or incarnation
counters you could reuse for this. The rest is finding the right
approach to sending changes and mapping objects in the correct order.
The changes have to be directly or indirectly distributed through the
framedata.
The eqPly example implements data distribution for the static kd-tree
of models, based on the proxy approach. This should cover the basics.
Just ask questions here when you get stuck.
HTH,
Stefan.