eyeorderchaos opened this issue on Aug 12, 2008 · 11 posts
eyeorderchaos posted Tue, 12 August 2008 at 9:39 PM
In Lightwave 3D, this is butt-easy, so I hope I'm not spoiled but it seems to me there must be a way to do this in Poser 7 as well.
What am I talking about? Okay, say I want to make a pair of wings flap. (Actually, this is not just an example, it is what I'm trying to do now in Poser 7). The figure "Seraph" has right and left wings (body parts), which have a "flap" transform in the properties. I want to go into the graph, and just define and apply an oscillating curve, (or spline, or expression... however you want to say it)...to make the wings flap. Doing this by hand is tedious, annoying, and not at all erotic...
How can I apply expressions like noise, oscillation, etc to my graph splines?
thanks in advance.
Eye
ockham posted Tue, 12 August 2008 at 10:02 PM
Attached Link: Oscillator script
Try this script. Gives you a choice of sine, square, or triangle waves, and a choice of frequency and amplitude.http://ockhamsbungalow.com/Python/Oscillator3.zip
Note: I haven't used this one lately. There may be a small version
error in Poser 7. Most likely something like "integer cast to float".
If it gives such an error, tell me here and I'll fix it quickly.
ockham posted Tue, 12 August 2008 at 10:07 PM
Edit: Tried it just now ... no version error.
eyeorderchaos posted Tue, 12 August 2008 at 10:14 PM
Wow, you are awesome, I will give it a try!
And thanks! Ockham, a familiar handle (tho I don't really frequent the forum very much) I remember you have helped me in the past as well...much appreciated.
ockham posted Tue, 12 August 2008 at 10:15 PM
Edit again: One thing that's sort of implicit in the instructions but
needs to be made explicit. The script can handle lots of motions at
the same time.... in other words, you don't need to apply it separately
to every part and parameter. You set any or all parts of the figure to the
position you want at "one end" of the cycle, hit the Mark 1 button; then
set any or all parts to the opposite end of the cycle and hit Mark 2.
The script then creates the oscillation between those two positions.
eyeorderchaos posted Tue, 12 August 2008 at 10:42 PM
So, the script detects what things you have changed while it is running, and applies a waveform to all of them ? IOW, if I set the low values for both wings and a finger and punch "mark one", then the high value for these parts and punch "mark 2", then enter the rest of the info (start and finish frame numbers, damping and wave shape), I will end up with flapping wings and a wagging finger? Cool.
eyeorderchaos posted Thu, 14 August 2008 at 7:00 AM
I'm back to report it works as expected, good job and thanks again!
I'm thinking, what would really add to this script would be noise expression, with ability to "lay on top" of the oscillator. IOW, the oscillator would be the "carrier" wave...so you could make a "big" wave with "little" noises nested into it.
ockham posted Thu, 14 August 2008 at 12:32 PM
Yes, I was thinking the same thing.
Perhaps three options, checkable (but not mutually exclusive):
randomize the timing somewhat. (In your metaphor, impose the noise as FM)
randomize the key amplitudes (Impose the noise as AM on the end points)
Add finer noise. (Like adding interference to the wave.)
Does that make sense? Were you thinking of other possibilities?
eyeorderchaos posted Thu, 14 August 2008 at 12:54 PM
Yeah, totally makes sense, I do think that would cover it.
Just some "random" thoughts: the first two are comparable to a "humanize" function in music, commonly applied to a machine drum beat to make it a bit less perfect The last one is what I was keying in on. Of course, in using the first 2 but not the 3rd it could be just pure noise (no carrier wave).
ockham posted Thu, 14 August 2008 at 1:02 PM
Thought of one more option. Since the script can control lots of parts and
parameters, how about randomizing each motion separately, so they're
not in lockstep? If applied in small enough doses, this would "humanize"
the motion.
eyeorderchaos posted Thu, 14 August 2008 at 5:29 PM
...Yes! Something like multiple waving tentacles or branches would be much easier to animate with realism, with such a script...