I was wondering if there is lib or plugin out there that automatically adds
collision detection to models (3ds,flt,obj etc) loaded into OSG or if
anyone is working on one? Basically I am looking for something that
intergrates ODE or SOLID (or any other coll. det. lib) with osgDB.
For example something like this:
class NodeWithCollision : public osg::Node OdeGeom;
...
NodeWithCollision* model =
osgDB::readNodeFileWithCollision("filename.3ds");
or just as simple as:
osg::Node* model = osgDB::readNodeFIle("filename.3ds");
addToODEWorld(model);
The ideal library would parse the osg::node / drawable for the vertices and
normals to use in corresponding vertices for ODE geoms.
Peter Di Sessa
VR/VE Software Engineer
Center for Visualization and Virtual Environments
University of Kentucky
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/