Revision: 5677 http://sourceforge.net/p/smartbody/code/5677 Author: arishapiro Date: 2014-07-03 00:38:33 +0000 (Thu, 03 Jul 2014) Log Message: ----------- Added ability to create morph targets from groups of mesh files. To do this: 1) create a face definition with an empty motion field (i.e. fd.setViseme("Fv", "") 2) create a string attribute called blendShape.channelName.meshName where meshName is the name of the loaded mesh, and the value of the attribute is the blend channel, like: c.createStringAttribute("blendShape.channelName.Gale_Fv.obj", "Fv", True, "blendshapes", 100, False, False, False, "Neutral expression") 3) set the mesh to the neutral shape c.setStringAttribute("mesh", "Gale_Neutral.obj")
Modified Paths: -------------- trunk/core/smartbody/SmartBody/src/sb/sbm_pawn.cpp trunk/core/smartbody/SmartBody/src/sbm/sbm_deformable_mesh.cpp trunk/core/smartbody/SmartBody/src/sr/sr_model_import_obj.cpp trunk/core/smartbody/SmartBody/src/sr/sr_sn_shape.h trunk/core/smartbody/sbgui/src/FLTKListener.cpp This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Smartbody-svn mailing list Smartbody-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartbody-svn