We use DIS and OSG. Our host running our simulation interprets the DIS packets and maintains a list of enities. The entity objects contain the position, orientation, state, etc, info from the DIS packets (or other enitity update information souces). We then map the entities to CIGI entities (including their articulations). We then send out CIGI messages to control MPV, which is built on OSG. MPV interprets these packets and updates the visual models as needed. It has configuration files that map CIGI entity and part IDs to geometry models/nodes.
Stephen Haithcock General Dynamics Land Systems 38500 Mound Rd. Sterling Heights, MI 48310 MZ 436-40-15 (586) 825-8573 "Robert Hansford" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/13/2007 03:34 PM Please respond to OpenSceneGraph Users <[email protected]> To [email protected] cc Subject [osg-users] OSG and DIS 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 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

