Hi,

I need help!  :' 

I'm trying to animate an avatar with OpenNI2/NiTE2 and osgAnimation, but 
without good results. 

How to initialize the bone matrix and its callback (osgAnimation::UpdateBone)?

Which are the first 6 stacked elements in the 
pBoneUpdate.at(i)->getStackedTransforms()?


Code:

for(int i = 0; i < m_bones.size();i++) 
{
    while(pBoneUpdate.at(i)->getStackedTransforms().size()>6){ 
        pBoneUpdate.at(i)->getStackedTransforms().pop_back(); 
    }
   ...
   ... 
   ...
}




... and please excuse my bad English!

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53043#53043





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

Reply via email to