Revision: 3948
          http://smartbody.svn.sourceforge.net/smartbody/?rev=3948&view=rev
Author:   fastict
Date:     2012-12-06 02:02:55 +0000 (Thu, 06 Dec 2012)
Log Message:
-----------
smartbody - added new functions for loading skeletons and motions:
mcuCBHandle::load_skeleton() - load a skeleton from a memory pointer rather 
than from disk
mcuCBHandle::load_motion() - load a motion from a memory pointer rather than 
from disk
mcuCBHandle::map_skeleton() - map an individual skeleton file to the given 
skeleton mapping
mcuCBHandle::map_motion() - map an individual motion to the given skeleton 
mapping

Only works for .sk's and .skm's since the existing functions use SrInput as 
parameters.  It was trivial to adapt them.  Other input formats will need some 
more work.  This duplicates code found in the disk loading functions, but it 
can easily be refactored to combine them into a single load function once the 
other formats are added.

Functions has been exposed to smartbody-dll so that more control over loading 
can be done through the renderer.

Modified Paths:
--------------
    trunk/core/smartbody/smartbody-dll/include/smartbody-c-dll.h
    trunk/core/smartbody/smartbody-dll/include/smartbody-dll.h
    trunk/core/smartbody/smartbody-dll/smartbody-c-dll.cpp
    trunk/core/smartbody/smartbody-dll/smartbody-dll.cpp
    trunk/core/smartbody/smartbody-lib/src/sbm/mcontrol_util.cpp
    trunk/core/smartbody/smartbody-lib/src/sbm/mcontrol_util.h
    trunk/core/smartbody/smartbody-lib/src/sbm/me_utilities.cpp
    trunk/core/smartbody/smartbody-lib/src/sbm/me_utilities.hpp

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Smartbody-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartbody-svn

Reply via email to