Results 1 to 10 of 109

Thread: Automatic Forester

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Guild Expert Ramah's Avatar
    Join Date
    Mar 2009
    Location
    Nottinghamshire
    Posts
    1,414
    Blog Entries
    4

    Post

    I had a play with the source code this evening and this is what I came up with...

    The positions of the trees are more along the lines of a maximum density forest how I would do it. I gave each tree a random little jiggle so it wasn't too uniform but I would say it needs each tree jiggle to effect its neighbours too, so it will look less like a pattern.

    Click image for larger version. 

Name:	treetest2.png 
Views:	163 
Size:	359.2 KB 
ID:	20191

    One thing I can't seem to fix are those holes in the forest. I thought at first you had it randomly choosing whether to place a tree or not but upon investigation I believe its because the Tree0 image doesn't seem to work. I thought it may be because the count started at 1 but all my experiments to fix it failed.

    I'll try rattling a few new brushes off for it tomorrow. To me it looks like they would be better with a hard edge so the program has no problem masking them off.
    Royal: I'm very sorry for your loss, your mother was a terribly attractive woman.


    My Cartographer's Guild maps: Finished Maps


    More maps viewable at my DeviantArt page: Ramah-Palmer DeviantArt

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

    Post

    I think the holes look nice...ya gotta have some open spaces so I'd have a white blank picture for my spacer. If you could set how many holes per hundred that you want then you could get rid of the holes or have a whole bunch of holes.
    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

  3. #3
    Guild Expert Ramah's Avatar
    Join Date
    Mar 2009
    Location
    Nottinghamshire
    Posts
    1,414
    Blog Entries
    4

    Post

    I agree, Ascension. The holes do add to it and if they weren't there I would certainly want a random check to put a few holes like that in it. It's just bugging me as to why they are there. It's nice to understand something.
    Anyway, until Fluesopp checks this out then I guess I won't know. Unless someone else with more Java knowledge than me checks it out.

    Anyway... I just had another quick play with it before bed as I had a little brainwave on how to get rid of the obvious pattern without too much hassle.
    I included a 4% random check on every tree placed along the x-axis and if it fired then that tree and all other after it move along an extra grid space.
    I think this looks a lot nicer.

    Click image for larger version. 

Name:	treetest3.png 
Views:	120 
Size:	377.2 KB 
ID:	20196

    This, to me, with a change of the brushes, would already work amazingly well and will get some use. I'm really looking forward to seeing what else Fluesopp can do with it.
    Royal: I'm very sorry for your loss, your mother was a terribly attractive woman.


    My Cartographer's Guild maps: Finished Maps


    More maps viewable at my DeviantArt page: Ramah-Palmer DeviantArt

Posting Permissions

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