obrjo181

splitting components of a facade

Discussion created by obrjo181 on Jul 5, 2012
Latest reply on Jul 11, 2012 by obrjo181
So I'm trying to create a front facade on one of my building walls.
I've managed to split it up into all the seperate components to link to different texture files I'm using, but I'm having a little difficulties with one part.  I want to create a facade shown in the image attached using the code below:

 case myIndex == 12 :
  split(x) { 0.2 : SolidWall 
  | ~4 : split(y) { 3 : Window2 
  | ~1 : Board }
  | 1 : split(y) { 2 : Door1 
  | ~1 : Window3
  | ~1 : Board } 
  | 0.2 : SolidWall }


There's just one issue, the image and code show's I've had to input the "board" texture twice to get it in one solid line, but it doesn't quite match up. How do I write the code to use one image here?

I hope the explination etc makes sense!

Joanne

Attachments

Outcomes