const randomFacadeTexture = fileRandom("data/facade_textures/f*.tif") attr floorheight = rand(4,5) actualFloorHeight = case scope.sy >= floorheight : scope.sy/rint(scope.sy/floorheight) else : scope.sy actualTileWidth = case scope.sx >= 2 : scope.sx/rint(scope.sx/4) else : scope.sx Lot --> extrude(HEIGHT) comp(f){front: Facade | side: Facade | top: Roof } Building. Facade --> setupProjection(0, scope.xy, 8*actualTileWidth, 8* actualFloorHeight) texture(randomFacadeTexture) projectUV(0)
Solved! Go to Solution.
Lot --> A.
Lot --> B.
Lot --> A. B.
Lot --> alignScopeToAxes(y) A. t(0,10,0) B.