Hi all,
Does anyone have any experience working with the DIS protocol (
http://en.wikipedia.org/wiki/Distributed_Interactive_Simulation) or
something similar?  I have to rewrite our OSG application to render a scene
described/updated via DIS and I'm unsure of the best way to go about it
(from a design point of view).

DIS provides the state information for the various objects in the scene (eg
their position, attitude and any degree-of-freedom or other attributes), so
I will have to query that information before each frame is rendered.
Presumably the best way to do that is to use the update callbacks for each
object, but what resolution should I do it at?  Should I have a single
callback for each entity that updates all of it's data, or should each node
in the graph callback to the appropriate datum?

Either way, should I create classes that extend the existing OSG classes (eg
a DIS-compatible PAT node, a DIS-compatible DoF node, a DIS-compatible LoD
node etc) and then find some way to replace the appropriate instances of
those nodes within the models?  Or is there some other way to do it? I've
never really looked at this side of OSG before.

If anyone has done anything similar and wouldn't mind giving some advice, it
would be greatly appreciated.

Thanks in advance

Rob.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to