Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 50

Thread: All about city block tiling scripts.

  1. #21
    Guild Member Chgowiz's Avatar
    Join Date
    Apr 2008
    Location
    Northern Chicago Suburbs
    Posts
    68

    Post

    Quote Originally Posted by Redrobes View Post
    The idea is to take these and use them as fills into city regions by erasing parts of them like borders and roads and remaining half houses and then you have your city buildings. You get lots of tile types or thatch so you can put the textures on different layers and choose between them by erasing all the other types or maybe having an index mask which selects one of the set. At least thats my going idea which I will try out right after I have a full set of them.
    Fair enough. I was thinking of smaller tiles than entire screen fillers, but now I see what you were thinking and it makes sense. Thanks for sharing!

  2. #22

    Post

    Too tired, I saw the webpage background colour.


    Sigurd


    Thanks for the tiles.

  3. #23
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,244
    Blog Entries
    8

    Post

    Quote Originally Posted by Chgowiz View Post
    Fair enough. I was thinking of smaller tiles than entire screen fillers...
    They are only big because of the res. It depends on what size scale your map is. You could resample them half or quarter size no problem but its obviously difficult to go the other way around so they have to be big to start with. If you had a really small scale map then you might have to resample them into quarters and then stitch a few of the tiles back together again to make a big bitmap again. Its also pretty good to have a big bitmap cos if your map is say 2000 pixels wide and you need the shadows for the buildings in a different direction then you need to rotate the image by say 35 degrees. Then you would cut a 2000 px sized rect out of it to use as the texture. So being one big image is much easier than faffing with lots of little tiles that have to be rotated and butted up at 35 degree angles. Most of my maps are about 2000 - 3000 pixels wide so I thought id well cover myself with a 4K set. I don't want to have to do these textures again - I can see all my cities looking similar but at the same time I am lazy and don't have the time to place all the houses down one by one. Its a tradeoff. The aim is to try to generate a script which uses these so that I can splat down a few roads, paint out a few city regions and stuff and it builds a complete city with minimal effort. Its all a bit experimental and I don't know how its going to turn out but I think it ought to work.

  4. #24
    Guild Member Chgowiz's Avatar
    Join Date
    Apr 2008
    Location
    Northern Chicago Suburbs
    Posts
    68

    Default

    Redrobes, your tiles are fantastic and I wasn't meaning anything bad about my comments. My maps tend to be smallish - 1500x1500 or less, which is why I thought most tiles were < 600x600. Learn something new everyday.

  5. #25

    Post

    Here I scaled down your pattern, carved some lines through it using a Voronoi pattern then had it delete all buildings that were cut/touched by the Voronoi lines. I'm surprised how many buildings were erased doing this!

    tileroads.png

    It might be necessary to plan road lines better, as some areas (SE) look much better than others.

    -Rob A>

  6. #26
    Community Leader Facebook Connected Ascension's Avatar
    Join Date
    Jun 2008
    Location
    St. Charles, Missouri, United States
    Posts
    8,392

    Post

    That looks pretty handy except for that spot in the middle with only one building. Still though, not sure if I can do this in PS but will look into it...got an idea.
    If the radiance of a thousand suns was to burst at once into the sky, that would be like the splendor of the Mighty One...I am become Death, the Shatterer of worlds.
    -J. Robert Oppenheimer (father of the atom bomb) alluding to The Bhagavad Gita (Chapter 11, Verse 32)


    My Maps ~ My Brushes ~ My Tutorials ~ My Challenge Maps

  7. #27
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,244
    Blog Entries
    8

    Post

    Gonna have a play myself shortly but I think I ought to finish off the set. So here's another 60Mb.... Logs cabins and slate roofs. I think that's enough to go on with.

    Chgowiz - wasnt meaning to be offish - just some factual stuff there about the res. 4K is probably overkill but better too big than too small IMO.
    Last edited by Redrobes; 02-03-2009 at 06:12 PM.

  8. #28
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,244
    Blog Entries
    8

    Post

    Ahh I told porkies. One more but this one is a utility version to help me plan the roads better.

    Outlines Version

  9. #29
    Guild Member Chgowiz's Avatar
    Join Date
    Apr 2008
    Location
    Northern Chicago Suburbs
    Posts
    68

    Post

    Quote Originally Posted by RobA View Post
    carved some lines through it using a Voronoi pattern then had it delete all buildings that were cut/touched by the Voronoi lines
    How did you do that?

  10. #30

    Post

    Quote Originally Posted by Chgowiz View Post
    How did you do that?
    Which - made the pattern, or deleted the touching buildings ?

    I got the Voronoi pattern maker from a site that no longer has it there (it shows the site as "under modification").

    BUT if you can get any pattern of road lines (even stroked paths or selected mosaic cracks this will work.

    0) Set up a stack: city pattern on the bottom, and a black on white road pattern on top.
    1) get rid of the shadows from the city building pattern layer using threshold alpha.
    2) duplicate the city building pattern layer.
    3) Move it above the road layer.
    4) Lock the alpha and fill with black.
    5) use the magic wand tool with the "sample merged" option ticked and click on one of the roads. You will get a selection of all roads plus connected buildings.
    6) grow the selection 1 pixel
    7) on the city building layer hit delete.

    Now you will have to remake shadows, and fill in backgrounds/roads as desired.

    -Rob A>

Page 3 of 5 FirstFirst 12345 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •