n0emi

Random Texture

Discussion created by n0emi on Nov 16, 2011
Latest reply on Nov 17, 2011 by MBuehler-esristaff
I want to model a one family house complex on one lot. For this purpose I make two rule files: the first one ???buildingComplex.cga??? splits the lot in smaller parcels. In each parcel the second rule ???building.cga??? is accessed.
For the roof I use random textures (inside the building.cga):

const randomRoofTexture = "textur/roof/ziegel_efh_"+ceil(rand(0,6))+".jpg"


but now each building on the lot has the same texture.
How can I make one texture per house but different textures for different buildings in one complex?

Outcomes