Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: BI1654 on April 03, 2014, 02:39:18 PM

Title: Flooring with different adjacent mat ids
Post by: BI1654 on April 03, 2014, 02:39:18 PM
Basically trying to recreate the attached image.

The geometry is no problem, I just tweaked the herringbone preset. But is it possible to randomise the material IDs (in this case 1 - 5) and make sure that no adjacent planks have the same material?
As it stands at the moment, I have it totally random, which isnt quite right. Using sequence in the material operator just gives me stripes.

Or maybe theres a better way to do this?
Title: Re: Flooring with different adjacent mat ids
Post by: Paul Roberts on April 03, 2014, 04:35:34 PM
Hi,

When creating randomised patterns it can often be tricky to prevent the same ID from appearing adjacent to one another. One approach is to limit the range of IDs that can be selected based in their position in a row and column, something like this based on 6 material IDs:

ID 1 - 2|ID 5 - 6
ID 3 - 4|ID 1 - 2
ID 5 - 6|ID 3 - 4

Each of these columns represents a sequences operator set to Increment on Y.

Another approach is to pre-make acceptable combinations of planks before adding them to RailClone and randomising between them.

I've attached a screen grab and file to help illustrate the former.

Hope that helps,

Kind regards,

Paul

Title: Re: Flooring with different adjacent mat ids
Post by: BI1654 on April 03, 2014, 06:34:31 PM
Cool thanks, very helpful!