Itoo Software Forum

Author Topic: Brick Wall Pattern  (Read 875 times)

iToo_Butler

  • Newbie
  • *
  • Posts: 45
    • DJS CGI
Brick Wall Pattern
« on: April 26, 2016, 05:46:09 PM »
Hi guys,

I'm trying to create the brick pattern in the photo attached.

I've got as far as the below image but can't seem to offset the sequence as it rises up the railclone (imagine in the z axis) I'm using the same brick at the moment to do the railclone to keep it simple and just changing the transform rotation to rotate the brick as i need it.

I don't want to create a tilable chunk, because I want to vary the brick textures so I don't have any tiling.

the upper railclone is the bricks on end fist, third, fifth rows etc and the lower one is the standard brick, 2nd, 4th, 6th rows etc.

any pointers?

thanks in advance.

Andy.

« Last Edit: April 27, 2016, 05:39:31 PM by iToo_Butler »
Cheers,

iToo_Butler.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1593
Re: Brick Wall Pattern
« Reply #1 on: April 28, 2016, 02:47:28 PM »
Hi,

Thanks for the interesting question. You should be able to achieve this using Sequence and Compose operators to reproduce the pattern. I've attached a file to illustrate. There are quite a few nodes but they are essentially reproducing the patterns as shown below:





Between these two we have alternating rows of Default segments as shown below:



Due to the different number and size of the segments in the Left and Right inputs, the default segments are offset on each row to create the pattern. Adaptive mode is used to ensure that only whole bricks are used and scaled to fit. This gives you a better finish on both the left and right side of the array.

Also in the sample file is a more advanced version that allows you to offset the starting row of the pattern. This was achieved by duplicating the Sequence operators and moving the first input to the last. Repeat this action until you're back where you started and wire all the sequence operators to a Selector node. You can now use this to offset the row which can be useful if you need to add windows using multiple RailClone objects. You can make sure the pattern continues correctly if you stack up the styles one on top of the other:



I hope that helps, please let me know if you have any further questions.

Many Thanks,

Paul
Paul Roberts
iToo Software

iToo_Butler

  • Newbie
  • *
  • Posts: 45
    • DJS CGI
Re: Brick Wall Pattern
« Reply #2 on: April 28, 2016, 03:51:31 PM »
This is some seriously good levels of support. I was hoping for a pointer, not a full on setup. I am extremely grateful!

Now I just need to figure out how to get it stepping the other way...... :-[

This has made me think brick patterns like this might make a good library of presets. Hit and miss style could be another.
Cheers,

iToo_Butler.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1593
Re: Brick Wall Pattern
« Reply #3 on: April 28, 2016, 04:00:18 PM »
Hi,

Glad we could help out. The easiest way to flip that would be to add reverse operators as shown. These invert the order of Compose operators so they should work well for this case.



Thanks for the suggestions! bricks, walls , roofs and cladding are on our wishlists. Hopefully we can add some of these styles soon.

Many thanks!

Paul
Paul Roberts
iToo Software

iToo_Butler

  • Newbie
  • *
  • Posts: 45
    • DJS CGI
Re: Brick Wall Pattern
« Reply #4 on: April 28, 2016, 04:08:23 PM »
I've been trying the mirror component with no success which makes sense now i think about it as the bricks are symmetrical!

EDIT, in adding the reverses, you have to swap the left and right side inputs around! Just in case anyone tries it. Works a charm!

Thanks again, hope to see some of these presets soon!
« Last Edit: April 28, 2016, 04:13:44 PM by iToo_Butler »
Cheers,

iToo_Butler.