Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: nubo on March 06, 2020, 02:42:06 PM

Title: Railclone Color randomize by Spline Section
Post by: nubo on March 06, 2020, 02:42:06 PM
Hi,

Is there a way to control RailClone Color map to randomize by Spline Section?
I'm working on a curtains style which allows to generate two curtains for one window (one window = one spline section) but if I use RailClone Color map to randomize tint, it applies those two segments different colors, which is unrealistic.
Maybe there's some tint variable that can be used in an Expression (like in ForestPack's effects)?

Right now I got back to simple Material ID randomisation, but it's troublesome since I use couple of different courtain models with different materials.
Title: Re: Railclone Color randomize by Spline Section
Post by: Rokas on March 06, 2020, 03:10:50 PM
Yes there is a way.
Transform Node has Color Seed input. You can wire a randomized Integer to it, where it is randomized on each different Spline:
(https://i.imgur.com/Ldgzw8Q.png)
Title: Re: Railclone Color randomize by Spline Section
Post by: nubo on March 06, 2020, 05:09:02 PM
Brilliant!   ;D
And so simple..

And thanks for super fast reply, Rokas!
Title: Re: Railclone Color randomize by Spline Section
Post by: nubo on March 06, 2020, 05:18:41 PM
And a quick side note:

Using Bercon Gradient in color tint slot of RailClone color map causes a crash.  :o