Hey I finished the Object Replace Tool over the weekend. I pretty much had it done on friday. Then I decided to once and for all figure out procedures. I've done some programming before, but everytime I dealt with local procs in Mel, it always screwed me up, and I never had time to actually figure it out. In the past I just turned it all into global procs to get the work done, but I knew that just wasn't the right way.
Well it took me a couple of days but I finally learned how to make local procs and also pass along arguments into them. That help reduce the code size in in about half of what I had.. and made it cleaner.. I'm just dealing with a couple of kb now, but I had to figure this stuff out if I really wanted to start handling the larger scripts I have in mind.. So anyhow, cleaned up that code and then decided to go back to my earlier scripts. They're all clean and commented out now.
I started a new tool today, one for us animators! I'm building my own Character Pose Tool. Nothing orignal, I'm just gonna take Motionbuilder's Pose Tool and make a maya version of it. I can already tell I'm biting more than I can chew. I started today and I just finished up the window for it. Half the time though I spent on figuring out how to handle the image thumbnail..
This tool will definitely be teaching some new stuff. Need to figure out how to handle both ascii files and images, connect them to my tool, and be able to update it how I want. I also want to be able handle multiple chars, bones and control rigs.. I'm hoping to finish it by Friday though.. So I might save that last bit for 2.0...
Funny I keep pushing my other rig tools back, but these just seem cooler :)
Window roughly done.. I'm keeping space incase I decide to add another button or two..
No comments:
Post a Comment