Itoo Software Forum

Author Topic: Building a wall with random size bricks  (Read 3021 times)

iToo_Butler

  • Jr. Member
  • **
  • Posts: 56
    • DJS CGI
Building a wall with random size bricks
« on: October 17, 2014, 11:43:59 AM »
Hello.

How can i build a wall which is contructed of different size bricks, but so it has no gaps. You can see below that the wall has gaps in between each brick. My simple setup is top right. I've tried adding padding and exporting a transform with fixed scales but not succeeded!



Maxfile

https://www.dropbox.com/s/vz31w0jpvbt7ll9/Rail%20Clone%20Wall.max?dl=0

Thanks in advance
« Last Edit: October 17, 2014, 12:17:49 PM by iToo_Butler »
Cheers,

iToo_Butler.

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Building a wall with random size bricks
« Reply #1 on: October 17, 2014, 01:07:11 PM »
You cant.
Sorry- nobody can.

It`s not possible to have bricks of  different BOTH width AND length.

All bricks must share common width OR length.
Rokas

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Building a wall with random size bricks
« Reply #2 on: October 17, 2014, 01:34:12 PM »
Hi,

Thanks for the question but I'm afraid Rokas is right. Each row is calculated independently and is therefore unaware of the segments above or below it. I find it's helpful to think of an A2S generator as a stack of individual L1S generators. This kind of task would suit a packing or subdivision algorithm rather than an array based generator.

Cheers,

Paul



Paul Roberts
iToo Software