Fri, Nov 15, 12:09 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Natural Motions with V3/M3


Dana_CH_AZ ( ) posted Tue, 18 April 2006 at 7:33 PM · edited Thu, 14 November 2024 at 9:55 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

My gallery   My freestuff


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

My gallery   My freestuff


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;)


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.