I don't know of any such libray which works in the way of overiding osgDB. I wouldn't actually advocate such approach, it'd be easier to just writing a seperate tool for parsing a loaded scene graph and then creating the appriate collision detection structures. There are plenty of projects that use this approach.
Robert.
On 5/9/06, Peter DiSessa <[EMAIL PROTECTED]> wrote:
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/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
