Calling MH as a library called from other programs
Posted: Wed Jul 23, 2008 9:33 am
Is it possible to call this code from outside MH itself? What I am interested in is using MH as a plugin (see
http://www.makehuman.org/forum/viewtopic.php?f=4&t=53) so that I can animate the figures. As far as I can tell, MH at the moment only does still pictures. Also a lot of outstanding feature requests would be handled better by MH becoming part of a set of co-operating programs, rather than the MH team re-implementing features.
To this end, MH would need to be callable as a library. The API would need to allow the calling program to import pose data, either via location (eg as driven by Blender's armature system) or by parameters (eg driven by Blender IPOs). MH would need to be able to return mesh data and also positioning data -- for example, an object held in the hand means that MH's data for the position of the hand needs to be able to drive the object's position.
Hope this makes sense, otherwise ask and I will try to explain better.
http://www.makehuman.org/forum/viewtopic.php?f=4&t=53) so that I can animate the figures. As far as I can tell, MH at the moment only does still pictures. Also a lot of outstanding feature requests would be handled better by MH becoming part of a set of co-operating programs, rather than the MH team re-implementing features.
To this end, MH would need to be callable as a library. The API would need to allow the calling program to import pose data, either via location (eg as driven by Blender's armature system) or by parameters (eg driven by Blender IPOs). MH would need to be able to return mesh data and also positioning data -- for example, an object held in the hand means that MH's data for the position of the hand needs to be able to drive the object's position.
Hope this makes sense, otherwise ask and I will try to explain better.