Dana_CH_AZ opened this issue on Apr 18, 2006 ยท 5 posts
Dana_CH_AZ posted Tue, 18 April 2006 at 7:33 PM
One of the things I been wanting to do in animation is show breathing with various version such as panting, normal rest, scared to death etc..There is the old fashion was of doing it, but I was wonder if this was possible:
A script where you dictate between frames that the simulation will start..and then it will attach to the inhale body morph of v3 (whether injected, or in v3rr, it is already there) and do the breathing for the various different sorts of lung interactions.
I am not a scripter, as you probably already know, but wonder if it is possible to be made?
svdl posted Tue, 18 April 2006 at 7:47 PM
What you would need is animated poses for the different kinds of breathing. Loading such a pose at the desired start frame would not even need Python. If you create the correct morph animation (don't bother about other morphs - but breathing also involves mouth and nose, you might want to include those morphs too), save it out as an animated pose, and then strip out everytthing that's not related to the breathing, you have your poses.
But if you want transitions - say, you have a running animation, the person starts out breathing normally, but after a short time begins panting. A smooth mix between normal breathing and panting can be achieved using Python.
It is certainly possible to write a Python script that would save the animated pose for you, only including the morphs that you want.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Dana_CH_AZ posted Tue, 18 April 2006 at 7:58 PM
Well, there is that.:) But the reason why I was wondering about a script is to automate the process with secondary motion. Say I got all the way through it....and wanted to added breathing by using the inhale morph, I was wondering if there is a script that add those values in until the counter reaches the end of the scene animation.:) Just trying to see if there was an easier way to do then then keyframe, and do the animated poses..like you recommended..:)
svdl posted Tue, 18 April 2006 at 8:19 PM
You'd have to do those animated poses only once, to figure out the correct key values.
Once you have those key values, it's easy in Python to repeat them from a starting frame to the last frame of the animation, and it's also easy to specify a stop frame.
It's even fairy easy to mix different breathing types, say 75% normal breathing +25% panting, or 40% panting, 40% scared. Building a good user interface is another matter though.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Dana_CH_AZ posted Tue, 18 April 2006 at 8:39 PM
Easy..perhaps..but like I mention above..I don't know how to use python..the manual confuses me;)