Hi Ryan,
Can you describe what file are you loading ? i can help but i need more
informations. Can you post the osg file ?
How did you build this osg file ?
Cheers,
Cedric
Ryan Morris wrote:
Well i have to admit i'm embarrassed here. I've been loading animated
models without bones to experiment with controlling the animation. In
light of this, i've only been using osgDB::readNodeFile(). Now that I
need to load a model with bones i need osgAnimation support (at least
this is my understanding). However, with the current svn build i have,
the dynamic cast
osgAnimation::AnimationManager *am =
dynamic_cast<osgAnimation::AnimationManager*>(osgDB::readNodeFile("file.osg"));
doesn't work. "am" comes back as a null object. what am i doing wrong?
this is driving me crazy! Thanks again for everyone's help.
On Tue, Dec 2, 2008 at 3:00 PM, Ryan Morris <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
It's a skinned mesh with bones.
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
+33 (0) 6 63 20 03 56 Cedric Pinson mailto:[EMAIL PROTECTED]
http://www.plopbyte.net
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org