Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Procedural Grass, Tree and GameObject generator for Unity Terrain

Discussion in 'Works In Progress - Archive' started by Osirius, May 28, 2015.

  1. Osirius

    Osirius

    Joined:
    Oct 10, 2014
    Posts:
    47
    Still in the very early stages and, as such, everything is subject to change.

    I was looking for a tool similar to this for the inbuilt Unity Terrain component but they were all incredibly expensive, so I decided to build my own! I aim to release this as a pay-what-you-want type of thing on my website (so free, essentially) and for around $5 on the Asset Store.
    I realise that for big projects using the Unity Terrain system isn't the most efficient but I'm sure some people will find a use for this :)




    Features:

    Grass/Details
    - Multiple draw distances for grass (can extend beyond 250 also)
    - Completely customisable grass density, spread and randomness
    - Grass can be set to spawn between minimum and maximum heights and steepness.
    - Different grass can have different wind settings.
    - Can spawn the same grass prototype multiple times and each time can have different settings (above).
    - Gradual spawning (Spawn all at once or over time)
    - Original detail map doesn't get overwritten. So you can design a terrain like normal, then use this script to generate details over the top!

    Trees
    - Multiple billboard and render distances
    - Tree height offset (can render slightly under terrain)
    - General tree settings (height, width, rotation)
    - Tree collider can be toggled
    - Min/Max height and steepness (as above)

    GameObjects
    - Pretty much the same options as for Trees above

    Quality Settings
    - All above settings can also be tweaked for different graphical settings, so you can have a lot of things being generated or hardly any, depending on the graphics level (this is demonstrated in the video below)

    Very early promo video


    Not sure about the name and if anyone can think of any features please let me know, just after feedback really, and potentially beta testers at some point :)

    What do you guys think?
     
    Last edited: May 31, 2015
    Cottage_Pi, Pecek, SAOTA and 2 others like this.
  2. DrDigg0R

    DrDigg0R

    Joined:
    Apr 7, 2013
    Posts:
    30
    Looks nice.

    Regarding the name, I thought it is an asset from these guys when I recognized the title: http://planetside.co.uk
     
  3. Osirius

    Osirius

    Joined:
    Oct 10, 2014
    Posts:
    47
    Oops, looks like I didn't search hard enough. I'll think up a different name, thanks for the heads up! :)
     
  4. Osirius

    Osirius

    Joined:
    Oct 10, 2014
    Posts:
    47
    Update
    Grass and trees no longer overwrite the original.
    This means you can design a terrain and then use this script to procedurally generate some details over the top!
     
  5. Kusras

    Kusras

    Joined:
    Jul 9, 2015
    Posts:
    134
    Do you have any link, where we can find your asset? :)
     
  6. Osirius

    Osirius

    Joined:
    Oct 10, 2014
    Posts:
    47
    Project on hold due to lack of interest, sorry :(
    I'll send you a copy of the beta if I can get it into a releasable state :)
     
  7. Kusras

    Kusras

    Joined:
    Jul 9, 2015
    Posts:
    134
    Ah really? It seems interesting and explicitly if I search procedural grass only your posts appears :D so, you have at least my interest. Because if I use billboards, even if I have 30 types... it is pretty ugly in bigger density as everything is same rotated, and climbing the same way... it is good as a decoration, but not as main grass...

    So please send it as soon as it is releasable. Thank you.
     
    SAOTA likes this.
  8. XPAction

    XPAction

    Joined:
    Jan 13, 2014
    Posts:
    11
    so sad.. it looked like a good asset for decoration as fill in open landscapes
     
  9. _invalidusername

    _invalidusername

    Joined:
    Jul 1, 2014
    Posts:
    35
    I'm interested! You should finish this
     
  10. TheXWolf

    TheXWolf

    Joined:
    Dec 13, 2013
    Posts:
    85
    @Osirius Sent you a PM about your asset.
     
  11. Cottage_Pi

    Cottage_Pi

    Joined:
    Dec 21, 2014
    Posts:
    55
    I am very interested in this for my Island walking simulator!
     
  12. jdraper3

    jdraper3

    Joined:
    May 28, 2015
    Posts:
    117
    This sounds very cool - if you don't intend on releasing it, it would definitely make a great tech article :)