EsMo wrote: > Hello, > I'm trying to manipulate a face 3d model through code (not pre-defined > animation). > I've downloaded the female head 3d model from here > http://www.scriptattack.com/maxscripts/bonyface/Links.html > (http://www.scriptattack.com/maxscripts/bonyface/Links.html) > and saved it as FBX > using NodeVisitor I retrieved all model's sub-nodes with the name starting > with "head_BF" (prefix name by bonyface) - they are all MatrixTransform. > I've set an updatecallback for all of them which setMatrix to makeTranslate > of a random number. > I expected the face parts to dance around. > however, only the eyeballs, tongue and teeth are moving. > can anyone help out? > thanks alot
If you already know how to write a visitor, the first step should be easy for you - write a diagnostic visitor and send it down the hierarchy. Let it dump every precondition and state you assume for your algorithm. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=60255#60255 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

