I have some animated objects which I'm going to plot to constant/step.
I then want to add some noise to each key.
a basic hack job I've done is this...
RandomizeParameters "sphere.kine.local.posx", 0.01, True
SaveKey "sphere.kine.local.posx", 1, , , , False
NextFrame
but don't know how to loop it or tell it how many frames/times to repeat.
Can anyone help or suggest a better way to do it?
cheers, TBK
Add noise to curves
Re: Add noise to curves
You could go ahead and add some noise to the position of the object in ICE easily - I've done this before and it works pretty well.
Use turbulence node and use the object position as the input and add that to the object position and set it back.
Use turbulence node and use the object position as the input and add that to the object position and set it back.
-
- Posts: 38
- Joined: 11 Jul 2012, 19:01
Re: Add noise to curves
problem is the parameters i need to add the noise to are part of a number of characters, so it would mean a lot of work going in and setting up the ICE tree on each object.
I'm after some kind of system where i can select all the objects i need to add noise to and quickly run some kind of script...
I'm after some kind of system where i can select all the objects i need to add noise to and quickly run some kind of script...
- csaez
- Posts: 253
- Joined: 09 Jul 2012, 15:31
- Skype: csaezmargotta
- Location: Sydney, Australia
- Contact:
Re: Add noise to curves
You can easily script the ICE solution too, just make a compound (with an execute output) and run something like this
Code: Select all
COMPOUND = "Bend"
for oObj in Application.Selection:
Application.ApplyICEOp(COMPOUND, oObj)
Re: Add noise to curves
This is a thing I have been wanting for so long - properly working with groups and settings data on multiple objects in a single ICETree - unfortunately thats not possible
Re: Add noise to curves
In VBScript?
Code: Select all
set MyObject = GetValue("sphere.kine.local")
set fcurve = MyObject.Parameters("posy").Source
fcurve.BeginEdit
for i = 0 to fcurve.GetNumKeys()-1
fcurve.keys(i).Time = fcurve.keys(i).Time + (rnd(i)*0.1)
fcurve.keys(i).value = fcurve.keys(i).value +(rnd(i)*0.1)
next
fcurve.EndEdit
Re: Add noise to curves
I'd love to see a noise function in the animation editor again, there used to be a great plugin that allowed a number of different ways of adding noise via a menu in there, but I don't think it ever got compiled for 64-bit...
Edit: Not the one I was thinking of but this looks handy - haven't tested but noise function adds an animation layer of noise to a curve.
http://www.ozadi.com/scripts/FCurveTool ... Plugin.htm
Edit: Not the one I was thinking of but this looks handy - haven't tested but noise function adds an animation layer of noise to a curve.
http://www.ozadi.com/scripts/FCurveTool ... Plugin.htm
Re: Add noise to curves
this is where relative value math operators that can be used in the transform panel would be VERY handy if they were also available in the animation editor keyframe value panel
eg using l or L(min, max) ,r(x) &r(min, max) + to alter all selected keyframes on all selected fcurves
eg using l or L(min, max) ,r(x) &r(min, max) + to alter all selected keyframes on all selected fcurves
Gossip is what no one claims to like, but everybody enjoys.
Who is online
Users browsing this forum: No registered users and 35 guests