Revision: 5502 http://sourceforge.net/p/smartbody/code/5502 Author: arishapiro Date: 2014-03-18 00:03:18 +0000 (Tue, 18 Mar 2014) Log Message: ----------- Added function to FaceDefinition: addDefaultFacePose() which allows you to set various blends on the face and those effectively become the 'neutral face'. For example, you can add a small smile to the character, a furrowed brow, etc. and that configuration will be reset every time an interruptFace() call is made. Usage:
# set of face poses s = StringVec() s.append("au_6_right") # set of face values v = FloatVec() v.append(1.0) fd.setDefaultFacePose(s, v) brad.updateFaceDefinition() Modified Paths: -------------- trunk/core/PandaBMLR/PandaBMLR/NetHandler.py trunk/core/smartbody/SmartBody/src/controllers/me_ct_motion_graph.cpp trunk/core/smartbody/SmartBody/src/sb/SBCharacter.cpp trunk/core/smartbody/SmartBody/src/sb/SBCharacter.h trunk/core/smartbody/SmartBody/src/sb/SBFaceDefinition.cpp trunk/core/smartbody/SmartBody/src/sb/SBFaceDefinition.h trunk/core/smartbody/SmartBody/src/sb/SBPython.cpp trunk/core/smartbody/SmartBody/src/sb/SBPythonCharacter.cpp trunk/core/smartbody/SmartBody/src/sb/sbm_character.cpp trunk/core/smartbody/sbgui/src/faceviewer/FaceViewer.cpp trunk/core/smartbody/sbgui/src/faceviewer/FaceViewer.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Smartbody-svn mailing list Smartbody-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartbody-svn