Results 1 to 10 of 26

Thread: Create a random town

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Info Two more script mods

    I made a couple of changes to your modded script after running it through a few more times.

    I used your threshold-alpha filter on the building level to remove all of the buldings that were underneath the roads. With the feathered selection you used for the roads, there ended up being too many shadows. Running the threshold-alpha filter with a value of 200 on the town layer got rid of the buildings under the roads, which eliminated any extra shadows. The method you used to generate the shadows is still in place, though.

    I also changed the script so that the random maps no longer have to be square. The maps can be anywhere from 300 to 3000 pixels in either dimension.

    Your additions were noted in the comments in the script. Credit is given where credit is due!!

    I attached a zip containing the new script, as well as a picture of what my run looked like with the default values. This was a great tutorial to code up, and now I know how to bevel stuff!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Default.jpg 
Views:	113 
Size:	261.2 KB 
ID:	9968  
    Attached Files Attached Files
    I think I've had this Deja Vu before...

Posting Permissions

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