Apply multiple noise seeds at once?

Apply multiple noise seeds at once?

Anonymous
Not applicable
797 Views
6 Replies
Message 1 of 7

Apply multiple noise seeds at once?

Anonymous
Not applicable

Hi all,

 

I've got many copies of the same object with a noise modifier, and I'd like to apply different noise seeds to each at once. Is there a script maybe you know about, or some tips?

Thanks!

0 Likes
798 Views
6 Replies
Replies (6)
Message 2 of 7

Steve_Curley
Mentor
Mentor
Just search this forum for "noise seed" (without the quotes) - there are several threads on this subject.

Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

0 Likes
Message 3 of 7

Anonymous
Not applicable

Thanks for your reply Steve. I did do a search before posting (evidently not a good one). I found this piece of code you did for a guy with a similar problem:

 

for i in $Box* do (i.length.controller.seed = random 1 400)

 

I know that in that case he wanted to modify the length of his objects, but I'm so clueless about scripting that I couldn't modify it to randomise the seeds in my objects' noise modifiers (copies, not instances).

 

If you could help me out with this I'll appreciate it so much!

 

Thanks!

0 Likes
Message 4 of 7

Steve_Curley
Mentor
Mentor
for i in $Box* do i.modifiers[1].seed = random 0 400

Beyond that you'd have to give us more information:-
The object names (assuming they're not Box123 etc), or would you want to select them yourself first?
Is the Noise the only Modifier, and if not where is it in the stack? (or is it still called "Noise")?
Over what range of seeds do you want the random number chosen from?

Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

0 Likes
Message 5 of 7

Anonymous
Not applicable

Thanks for your quick reply Steve.

 

The objects are called "Leaf123". It's going to be around 100 copies of it. The Noise modifier is the only modifier applied to the Editable Poly, and I haven't renamed it.

 

Thank you very much for your help!

0 Likes
Message 6 of 7

Steve_Curley
Mentor
Mentor
So they are all "Leaf" + a number of digits? Just replace "$Box*" with "$Leaf*" 🙂

Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

0 Likes
Message 7 of 7

Anonymous
Not applicable

Sorry, that was embarrasing of me!!Smiley Embarassed

Cheers mate!

0 Likes