I am fresh new in this board, and I really need help.
I have a project to school
Implement 2d skin creation
? After skeleton is done, define skin around by clicking and creating poly-line
? Generate weights automatically by calculating distance to all bones (simple all bone test).
Ignore bones which are further beyond some threshold
So what I need is: I have weights already computed... But I dont know how to change distance to bones or simply position of vertices of skin when bones are moving. Please, could Anybody write me some pseudocode (or java or flex ) for it, or simply formula for it how can I compute that?
Thanks a lot