On 8/23/12 at 12:09 PM, [email protected] (Ron Ganbar) wrote:
Shake had a random generator with a density slider that
made this kind of thing easy. I used it lots.
Any idea what kind of thing was used to create that?
good question i miss that too...
a simple way to generate a random noise plate would be something
like this (if you convert it to sRGB it looks very close to the
shake pattern)
set cut_paste_input [stack 0]
push $cut_paste_input
Expression {
expr0 random()
expr1 random()
expr2 random()
name Rand
selected true
xpos -188
ypos -268
}
and below an attempt to add seed and density as in the shake
note (not sure if the seed is random enough though). let me know
if it works and i'll try to make it a gizmo later:
set cut_paste_input [stack 0]
push $cut_paste_input
Expression {
expr0 "random((x+10)*seed+1000,(y+10)*seed+1000) * ceil((density-random(x,y)))"
expr1 "random((x+20)*seed+2000,(y+20)*seed+2000) * ceil((density-random(x,y)))"
expr2 "random((x+30)*seed+3000,(y+30)*seed+3000) * ceil((density-random(x,y)))"
name shk_Rand
selected true
xpos -37
ypos -272
addUserKnob {20 User}
addUserKnob {7 density}
density 1
addUserKnob {3 seed}
seed {{frame i}}
}
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users