How to randomize or +1 tons of noise node seeds

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
nullbio
Licensed Customer
Posts: 20
Joined: Mon Jul 18, 2022 12:59 am

How can I control my noise node seeds from one location instead of having to go into every single noise node and manually adjusting the seed if I want a different look for my material?
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

You can write a Python script and run to give different seeds.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
galleon27
Licensed Customer
Posts: 293
Joined: Wed Jul 15, 2015 11:55 am
Location: Serbia
Contact:

With xpresso. Here you go.
You need to add custom user data then link that to the parameter you want to control.
Attachments
noiseCtrl_xpresso.zip
(65.68 KiB) Downloaded 46 times
Win 10 64bit // GTX 4090 + GTX 3090 // 5900x // 64GB // SideFX Houdini // C4D
nullbio
Licensed Customer
Posts: 20
Joined: Mon Jul 18, 2022 12:59 am

galleon27 wrote:With xpresso. Here you go.
You need to add custom user data then link that to the parameter you want to control.
Awesome, thank you! Didn't know this was possible.

So is the best practice (or at least for my use case) having a null object with an xpresso tag to control everything, I don't need to put tons of xpresso tags everywhere?

Also how do I get the noise nodes from inside my material inside the xpresso editor? I tried to drag and drop them but they don't drag outside of the Octane editor window.

I saw you can right click the seed and go "Set Driver" and "Set Driven", not sure what these are though. Trying to find this info in a tutorial online but nothing I've found has been specific to controlling seed values in an Octane material so it's a little bit of a niche use case. Thanks!
User avatar
galleon27
Licensed Customer
Posts: 293
Joined: Wed Jul 15, 2015 11:55 am
Location: Serbia
Contact:

I've attached 2 videos showing how to do it.

About "Set Drive" and "Set driven". Basically they do what i did with the setup but adds more nulls and expressions. It's not as clean.
If you create a null and add custom user data to drive whatever parameter you want, its gonna create a null for every driven parameter. Its gonna look like this:
Screenshot 2022-12-26 112543.jpg
Screenshot 2022-12-26 112543.jpg (10.8 KiB) Viewed 821 times
.

You could just do it that way. If you what to clean that up, just dive into every xpresso tag, copy the nodes, and paste them into a single xpresso tag then delete the rest.
Attachments
noiseSeedCtrl_howTo.zip
(5.09 MiB) Downloaded 50 times
Win 10 64bit // GTX 4090 + GTX 3090 // 5900x // 64GB // SideFX Houdini // C4D
Post Reply

Return to “Maxon Cinema 4D”