S-S
10-23-2006, 11:29 PM
I have been doing this script for a while now. Idea is to store object transformations into array / structure, and then be able to load them back to a set of objects. (sort of morph targets for bones or helpers) I know there is already a plugin for this, but i wanted to learn scripting and transformations, and be able to create my own text based format.
Currently i can save poses to and load poses from a text file. So, my question - is there a relatively simple way to store an array which contains structures, to some a location in scene, so i wouldn't have to load poses separately when i load the script?
I also had a bit of trouble while trying to figure out how to cope with different pivot orientations of parent and child object, but i came up with some sort of solution... i think i save my questions to later time! :)
If someone is interested, here is a video of my script in action (XVID)
http://www.cgmill.com/ss/wip/20061023_pose_saver_p.avi
Currently i can save poses to and load poses from a text file. So, my question - is there a relatively simple way to store an array which contains structures, to some a location in scene, so i wouldn't have to load poses separately when i load the script?
I also had a bit of trouble while trying to figure out how to cope with different pivot orientations of parent and child object, but i came up with some sort of solution... i think i save my questions to later time! :)
If someone is interested, here is a video of my script in action (XVID)
http://www.cgmill.com/ss/wip/20061023_pose_saver_p.avi
