Sun, Feb 16, 2:59 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 15 11:01 am)



Subject: Naturalizer script (PY)


ockham ( ) posted Wed, 06 February 2002 at 12:43 PM ยท edited Thu, 09 January 2025 at 11:47 PM

file_269483.txt

Last night somebody asked for an eye-blink script. I made that, but then decided to mix it in with my previous "squirm" script. The result is a "naturalizer", which creates a full range of natural wiggles and blinks so that an inactive character will appear to be alive instead of frozen. As with the previous versions, you should set up your frame count and timing first; then select each figure; then activate the Naturalizer for each figure separately. In the upper part of the script you can change several parameters, to make one character more nervous or twitchy than another. Rename the Message*****.TXT to NATURALIZER.PY before using.

My python page
My ShareCG freebies


saxon ( ) posted Wed, 06 February 2002 at 1:40 PM

What a good idea, thanks. I'll have fun playing with this.


Little_Dragon ( ) posted Wed, 06 February 2002 at 2:18 PM

In the 3D game industry, that's what we call an "idle animation". Thanks.



Bongo ( ) posted Wed, 06 February 2002 at 10:13 PM

any chance of making a naturalizer anim file so us pro packless posers could get twitchy too??


jjsemp ( ) posted Thu, 07 February 2002 at 5:06 PM

Hi ockham,
I tried your script. When I run it, I get this message:

Traceback (innermost last):
File "", line 51, in ?
ImportError: No module named random

I've never tried using a python script before. What am I doing wrong?

jjsemp


ockham ( ) posted Thu, 07 February 2002 at 8:50 PM

Since you can run the script at all, you must have some version of PPP, and you're basically doing the right things. I'm pretty sure the Random module was there from the start, not just in the later 'service pack' releases. It should be located at: .....Poser/Runtime/Python/Lib/random.py That folder should contain a large collection of .py files, which are native parts of the Python system. If it's not there, try reinstalling the PPP release in case your directory structure has been changed or 'simplified'. (I did that once, thinking the various .py files were just accessories, not necessities!)

My python page
My ShareCG freebies


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.