I did it! I did it!!!!
Mar. 27th, 2005 12:30 pmMaya import/export routines for BVH files! :)
It took me the better part of the night but here it is!
http://circle.twu.net/progs/bvhimport.mel
http://circle.twu.net/progs/bvhexport.mel
A lot of kudos to Sergiy Migalskiy who had written the import routine.
I should stress that the export tool is very much beta-test software. The interface is clunky and you must have your root bone (the hip bone in the Second Life files) selected when you run this script. I can say though that I tested it with both IK and FK and it was working pretty good.
I did comment it pretty heavily though. If someone else wants to take it and clean it up a bit, feel free. If not, I'll get around to it some day.
Please let me know if you have any problems, feedback, or whatever.
Happy Easter! ^_^
It took me the better part of the night but here it is!
http://circle.twu.net/progs/bvhimport.mel
http://circle.twu.net/progs/bvhexport.mel
A lot of kudos to Sergiy Migalskiy who had written the import routine.
I should stress that the export tool is very much beta-test software. The interface is clunky and you must have your root bone (the hip bone in the Second Life files) selected when you run this script. I can say though that I tested it with both IK and FK and it was working pretty good.
I did comment it pretty heavily though. If someone else wants to take it and clean it up a bit, feel free. If not, I'll get around to it some day.
Please let me know if you have any problems, feedback, or whatever.
Happy Easter! ^_^