Fri, Jan 24, 1:06 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 24 12:37 pm)



Subject: Fancier Jiggles


ockham ( ) posted Thu, 26 February 2004 at 10:51 PM · edited Sun, 12 January 2025 at 8:09 PM

Attached Link: http://ockhamsbungalow.com/Python/Jiggles2.zip

file_100172.jpg

I've added a gravity bias and a "twang" feature (damped oscillation) and made the main action smoother and easier. If you didn't pick up on the first version, see the thread a few days ago for discussion of the basic idea.

My python page
My ShareCG freebies


ockham ( ) posted Thu, 26 February 2004 at 10:57 PM
ockham ( ) posted Thu, 26 February 2004 at 11:14 PM

The gravity slider is just a variable downward bias on the Up-down motion. And yes, I'd love to see the example. Can you condense it to a GIF and post it here? If not, send to jiggles@ockhamsbungalow.com

My python page
My ShareCG freebies


Kenmac ( ) posted Thu, 26 February 2004 at 11:15 PM

Very nice update, I'm glad to see you included a gravity feature. I did a 30 frame animated gif with your original jiggles script and it shows off the movement quite well. Let me know if you're interested in seeing it.


Kenmac ( ) posted Thu, 26 February 2004 at 11:18 PM

I deleted my original message because I wasn't looking at the screenshot closely and noticed that you did include a gravity function so I updated my comment. :o) I'll send you the gif. It's just a little large for posting here.


ockham ( ) posted Thu, 26 February 2004 at 11:32 PM

Got the GIF. That's pretty, and subtle. I had to look at it frame-by-frame to see the morph changing; in motion it just looks "right". Which is the whole point, I suppose!

My python page
My ShareCG freebies


numanoid ( ) posted Thu, 26 February 2004 at 11:35 PM

Thanks Ockham. I will see what I can come up with. I have so many new toys to play with I don't know where to start, and I must finish building all my toys as well.


lynnJonathan ( ) posted Fri, 27 February 2004 at 2:06 AM

Cool! I'll have to check it out. Is the "Twang" function sort like what animators call "follow through"? Like how hair would kind be a little behind the heads motion? One thing I noticed with the first version is how long the analyze part takes. But its really just analyzeing the same thing over and over again while I try to tweak the scripts settings. If it could remember the previous one that would really speed things up. Since the animation part is done. Just a thought, I'm not sure how hard something like that in Python is. I love the script though. It works great. Lots of posabilities!


lynnJonathan ( ) posted Fri, 27 February 2004 at 3:09 AM

Attached Link: http://www.posergrafx.com/Video/ToonMouseJiggles02.AVI

I played with the new one a bunch and was never happy with the results. So I decided to do something mor simple. The hip moves from left to right and applied the script to the tails easy pose side-side. This is with the default settings. Its an 84 K DivX AVI


TrekkieGrrrl ( ) posted Fri, 27 February 2004 at 3:41 AM

Oh another neat python script. Thanks ockham, this looks VERY VERY usefull :o))

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



ockham ( ) posted Fri, 27 February 2004 at 11:19 AM

"One thing I noticed with the first version is how long the analyze part takes. But its really just analyzeing the same thing over and over again while I try to tweak the scripts settings. If it could remember the previous one that would really speed things up." The new version does exactly that. I was getting annoyed by the same problem, so I made it save the analysis in a file. As long as you don't change the rest of the motion, you can re-use the script without hitting the Analyze button. The script forces you to hit Analyze when it detects that the file is absent or obviously wrong (from an earlier Poser session, or for the wrong body part.)

My python page
My ShareCG freebies


ockham ( ) posted Fri, 27 February 2004 at 12:56 PM

The twang action isn't right. Hold further experimentation till I get it fixed......

My python page
My ShareCG freebies


Tguyus ( ) posted Fri, 27 February 2004 at 2:55 PM

Hi Ockham--

Tried out the Jiggles2 script and got the following error message:

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

Is this a problem with applying it to my fairly customized Vicky 2, or is it something else?

Eagerly awaiting the version with corrected "Twang"!

Thanks! TG


TrekkieGrrrl ( ) posted Fri, 27 February 2004 at 3:34 PM

TGuyus are you on a Mac? I remember ockham mentioning that soem of the mac verseions didn't work with tkinter...

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



ockham ( ) posted Fri, 27 February 2004 at 11:36 PM

Attached Link: http://ockhamsbungalow.com/Python/Jiggles3.zip

Still not entirely happy with the way the "aftershock" happens, but at least you can see it now. It really deserves a separate slider for strength of twang, but the panel is already fairly complicated. New ZIP name to avoid caching....

My python page
My ShareCG freebies


daverj ( ) posted Sun, 29 February 2004 at 6:03 PM

I, for one, like lots of controls. You can always group controls so the more subtle ones that not everybody wants to use are in a separate group. Or pop up in another window after hitting an "Advanced" button.


ockham ( ) posted Sun, 29 February 2004 at 6:13 PM

I like lots of controls too. Maybe it's a leftover from the science toys I had when I was a kid; lots of knobs and dials, most of which did nothing. Some folks like maximum automation, though. Grouping is probably the best solution.

My python page
My ShareCG freebies


larryma ( ) posted Mon, 01 March 2004 at 6:41 PM

I have tried the first two scripts and found the movements have to be edited because some of the movements were too strong. Is there a way to limit the maximum movements, possibly decreasing the amount of movement as the limit is approached? I have tried these scripts on Koz's hair also. The major problem is that gravity is too weak when the head is tilted at a sideways angle. Even with these limitations these scripts are a big help in making animations more lifelike.



ockham ( ) posted Mon, 01 March 2004 at 6:55 PM

"Is there a way to limit the maximum movements, possibly decreasing the amount of movement as the limit is approached? " Good idea. Technically, it's called "soft clipping". I'll see if it can be included. On the sideways gravity: I don't know if that can be improved. There are just too many angles involved. Finding the actual orientation of a body part requires summing up all the angles between it and the BODY. That's possible though complex. (Good old Gimbal Lock gets in the way at some angles.) But the second half of the problem, figuring out which way a certain morph needs to flex, when at a certain orientation, may be just about impossible from the viewpoint of Python.

My python page
My ShareCG freebies


Tguyus ( ) posted Tue, 02 March 2004 at 8:15 AM

Getting that odd error running the script, but only on one of my characters... and I'm not on a mac. Oh well, must be something wrong with the CR2.

What I'm really wondering now is whether there's some way to apply the "jiggles" action to one or more props rather than a morph target. I control jiggles of certain body parts made famous at this year's SuperBowl with a combination of magnet sets, including a combination of Wyrmmaster's VV3 and VVix sets plus a couple custom magnets I created which affect the whole torso: one for up-down and one for side-side movements; and another custom set which applies small movements to individual parts (i.e., right and left).

I can get "jiggles" to work reasonably well by cutting and pasting the keyframes generated for MTs into the ytran and xtran keys of my own movement props, usually also requiring running emphasizer to re-scale the movements. So I'm wondering if there isn't some way to apply the movement instructions directly to the prop.

Again, thanks to Ockham for another great tool!

TGuyus


ockham ( ) posted Tue, 02 March 2004 at 10:45 AM

Assuming that you pasted the error message exactly, so that it says "Tkinte", and adding the fact that it happens only on one figure, I wonder if the figure has some very long names in its channels? Poser can get squinchy when parameter names go over 32 characters, I think..... Might have caused some strange buffer overflow. Applying Jiggles to props, and to all parms instead of just MTs, is an extremely easy change. I was just about to make that change for my own purposes, which generally have more to do with props than boobs. Coming up shortly.

My python page
My ShareCG freebies


shadownet ( ) posted Tue, 02 March 2004 at 5:19 PM

Ockham many thanks again. You still owe me a script that does all the work and lets me lay on the bed, drink beer, and watch Gilligan reruns all day, but this one is pretty ** good.


ockham ( ) posted Tue, 02 March 2004 at 5:24 PM

Attached Link: http://ockhamsbungalow.com/Python/Jiggles3.zip

See the most recent thread for more info.....

My python page
My ShareCG freebies


lynnJonathan ( ) posted Tue, 09 March 2004 at 7:03 PM

Attached Link: jiggles3test.avi

I played with the Jiggles3 version today. Just the same thing I did before. The hip goes -.4 in X and then .4 and back to zero. This makes a sort of "S" like animation curve. Then I apply the script and the curve for the tail's Side-SideAll has what I think is an extra curve. The curve should really be like the hips but a little behind in time. I also messed with the levers and tried different settings.


ockham ( ) posted Tue, 09 March 2004 at 9:57 PM

I see what you mean. Just after the left end, there should be a gradual return to center, then the tail should flip to the right as the body decelerates. Instead, there is a backward motion at that point. Can't tell why, unless the Easy-Pose mechanism is somehow getting in the act.

My python page
My ShareCG freebies


lynnJonathan ( ) posted Wed, 10 March 2004 at 2:10 AM

Attached Link: http://www.posergrafx.com/Video/FishTest2.avi

I think I know what the problem is. I started thinking why did it work before I started doing simple tests. The time it worked I used a bvh file and there are allot of keyframes. The ones above have 4. So I tried to see how a fish would look and added keyframes for every frame before useing the script. I cant wait to use the bankdive script of yours with it. I have the MetaForm scripts from DAZ but seem to spend more time playing with this one!


ockham ( ) posted Wed, 10 March 2004 at 9:54 AM

That's more like it. I'm a little confused, though.... In my fiddling, the movement works best when it's free of keyframes to begin with. When a keyframe is already present, the spline can shove things backwards. Maybe I should have the script clear out keyframes from the affected range, and place a spline break just before it.

My python page
My ShareCG freebies


RealDeal ( ) posted Sun, 04 July 2004 at 2:21 AM

In order to save someone else from the problems I just had, the new link is: http://ockhamsbungalow.com/Python/Jiggles4.zip


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.