Quote:
|
Originally Posted by Defonten
grassynoel.
Amazing work! Could you please explain how did you textured them all correctly? A short breakdown\tut on this one would be much much appreciated also as I didn't get the part with assigning unique IDs to each box's tops and sides. Of course having this script would be great but even a short breakdown of it would be much appreciated. Thanks in advance and again - awesome work!
|
That's the tricky part.
One of the guys (our lead TD here at Iloura) wrote a simple script to do it. I'll check with him to see if he'll share it. Basically, greeble can select the top faces of the boxes it creates. I passed that selection up to an edit poly and Grant's script basically expanded the selection set by one poly which selects the entire box/building. His script then assigned a random ID to the buildings (ID's 1-50) and a separate random ID to the roofs (51-100).
Then I made a multi-sub material using 50 slots for building sides and the next 50 slots for roofs and assigned that one material to the mesh. Setting up the material was a bit manual and tedious but in the end it seems to work okay. I'd like to be able to control the height of the builldings by a greyscale map to create city enters and also control the density with another. I woull also like to scatter water towers and air con etc on top of the buildings too which should be fairly simple to do with scatter.
I'll see if Grant has time to help me out. :)
A variation on the render- daylight~
