Search Unity

[GrassOMG] Ultimate Grass On Mesh Generator

Discussion in 'Assets and Asset Store' started by Amfu, Jun 25, 2013.

  1. Amfu

    Amfu

    Joined:
    Apr 9, 2013
    Posts:
    180
    Hi everybody,

    I'm pleased to introduce my new asset, which is going to be released on the Asset Store soon.

    Ultimate Grass On Mesh Generator is able to render a lot of grass around the player dynamically, on any mesh (including standard terrains). It looks like the standard Unity's grass system (which works only on terrains, unlike GrassOMG), but is even more powerful with a deeper control over grass generation. As you can create as many "grass objects" as you want, you will be able to mix all grass type you want and set different parameters for each of them.


    Is going to be available on the Asset Store soon.





    $01_low.jpg


    Ultimate Grass On Mesh generator (GrassOMG) features:
    • Powerful, robust, and highly optimized.
    • Extremely easy to use. Setup a few parameters and run it in 5 minutes.
    • Works on any mesh. Also works on standard Unity's terrains.
    • Use your own prefabs or let GrassOMG create optimized grass objects for you.
    • Use included materials or your own materials.
    • Add as many different types of grass/plant as you want.
    • Grass can be animated by using included material.
    • You can use a control map to add grass only where you want.
    More info on the blog.

    I hope you will like it!
     
    Last edited: Jul 2, 2013
  2. virror

    virror

    Joined:
    Feb 3, 2012
    Posts:
    2,963
    This looks very nice!
    Is the performance comparable with the built in grass using roughly the same density?
    What will the price be?

    Edit: Is it possible to remove grass on a spot during runtime?
     
    Last edited: Jun 25, 2013
  3. Amfu

    Amfu

    Joined:
    Apr 9, 2013
    Posts:
    180
    Thanks Virror!

    Yes, from my experience of Unity's grass, performance is comparable with the built in grass using the same density. :)
    The starting price will be $30.

    It is possible to remove grass on a spot just by calling the ClearGrassInRange method. But the grass will be there again when the player go away and comes back. If you want to remove grass "forever", you will have to edit the control map dynamically (which is very easy using SetPixels method: http://docs.unity3d.com/Documentation/ScriptReference/Texture2D.SetPixels.html).
     
  4. PrimeDerektive

    PrimeDerektive

    Joined:
    Dec 13, 2009
    Posts:
    3,090
    Looks great! and the name is freaking adorable.
     
  5. Amfu

    Amfu

    Joined:
    Apr 9, 2013
    Posts:
    180
    Thanks PrimeDerektive!
    I like the name too :D
     
  6. makeshiftwings

    makeshiftwings

    Joined:
    May 28, 2011
    Posts:
    3,350
    Does this interact with Unity's wind zones? How hard is it to create grass for this system? Can I just use a transparent png file and have it automatically handle wind bending or do I need to do something weird with a second UV set?
     
  7. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    This runs very very slowly (< 1 fps) on my Mac with a Radeon 5870 running 10.6.8. Just so you know.

    --Eric
     
  8. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,406
    Runs smooth/fast here (pc), you could add fps counter there?
     
  9. virror

    virror

    Joined:
    Feb 3, 2012
    Posts:
    2,963
    Will add this to my "probably buy when i get there" list : )
     
  10. ronan-thibaudau

    ronan-thibaudau

    Joined:
    Jun 29, 2012
    Posts:
    1,722
    Can you make a standalone demo? Runs horribly slow for me (but webplayer uses my integrated graphic instead of nvidia card for some reason)
     
  11. janpec

    janpec

    Joined:
    Jul 16, 2010
    Posts:
    3,520
    Dude this looks awesome, voxel terrain with nice grass system, performance is very good even on my low end machine.
     
  12. captain_cab

    captain_cab

    Joined:
    Nov 23, 2012
    Posts:
    5
    I am getting pretty low fps in your web demo 3-8 fps. I have a decent graphics card Radeon HD 6770M. It seems slower then regular terrain grass. I would be interested in buying your asset if you could figure out your performance problem.
     
  13. Amfu

    Amfu

    Joined:
    Apr 9, 2013
    Posts:
    180
    Yes, I'm currently working on that point. The script will probably be split in two different scripts: one for high density grass and the other one for plants. I will come back here when this is ready.
     
  14. jc_lvngstn

    jc_lvngstn

    Joined:
    Jul 19, 2006
    Posts:
    1,508
    From reading your docs...it sounds like you are using raycasting against the mesh for grass placement, and also you are tracking individual grass meshes to see if they are out of range, and moving then in front of the player if so. Is that correct?

    The reason I ask is, I'm trying to determine how well this will fit my project's needs :) My terrain is heightmap based, and I can sample the heightmap pretty quickly to get heights. But that's definitely not as general purpose as your solution, so it wouldn't work at all for arbitrary meshes!
     
  15. Rakorath

    Rakorath

    Joined:
    Aug 6, 2013
    Posts:
    1
    Sorry for bad english, but I just want to ask when this pack will appear. You wrote "soon" but this was two months ago...
     
  16. Play_Edu

    Play_Edu

    Joined:
    Jun 10, 2012
    Posts:
    722
    This looks very nice! can it work on mobile, ios or android.
     
  17. Amfu

    Amfu

    Joined:
    Apr 9, 2013
    Posts:
    180
    GrassOMG will definitely come out. Summer time means holidays that's why it' so late.
    It will work on mobile if you use a shader which is compatible with mobiles (you will be able to provide your own materials for grass).
     
  18. toto2003

    toto2003

    Joined:
    Sep 22, 2010
    Posts:
    528
    that s look awesome, any video or demo? the grass can be blend? or any wind effect on them?
     
  19. David-Lindsay

    David-Lindsay

    Joined:
    May 20, 2009
    Posts:
    121
    Hi Amfu,

    Please tell me something about Grass OMG. I want to create two "layers" of grass that simulate LoD system for grass rendering:

    1. Near grass that is dense and close to the player, with a lot more polys.
    2. Far grass that is sparse, low poly and saves a huge cost on rendering.

    However, all the other solutions I have seen don't allow different layers of grass with separate culling and fading distances. How about Grass OMG?
     
  20. topofsteel

    topofsteel

    Joined:
    Dec 2, 2011
    Posts:
    999
    Any word on this? I cant find it on the asset store. Thanks.
     
  21. ZJP

    ZJP

    Joined:
    Jan 22, 2010
    Posts:
    2,649
    +1
     
  22. SpectralRook

    SpectralRook

    Joined:
    Feb 9, 2014
    Posts:
    112
  23. Magison

    Magison

    Joined:
    Mar 1, 2013
    Posts:
    21
    One thing I would like to know about GrassOMG: Does it create meshes (on CPU) or does it generate trianglestripes (or similar) by shader?
     
    Last edited: Mar 11, 2014
  24. ZJP

    ZJP

    Joined:
    Jan 22, 2010
    Posts:
    2,649
    UP...
     
  25. hexicCore

    hexicCore

    Joined:
    May 4, 2014
    Posts:
    11
    Upload this. Do it now.
     
  26. konsnos

    konsnos

    Joined:
    Feb 13, 2012
    Posts:
    121
    Looks promising. What's the state of this asset? Is it still WIP or we shouldn't expect it soon?
     
  27. bakno

    bakno

    Joined:
    Mar 18, 2007
    Posts:
    604
    When can we find this on the Asset Store?
     
  28. AlanGreyjoy

    AlanGreyjoy

    Joined:
    Jul 25, 2014
    Posts:
    192
    is this dead? Would fit really well with polyworld :(
     
  29. Magison

    Magison

    Joined:
    Mar 1, 2013
    Posts:
    21
    Can´t find it in the store. So I think it is ok to post an alternative to that.
    I programmed a similar solution. It´s beta and not very polished now. But it works well. And it´s free.
    Try a look at http://forum.unity-community.de/topic/7048-procedural-mesh-grass-beta
     
  30. AlanGreyjoy

    AlanGreyjoy

    Joined:
    Jul 25, 2014
    Posts:
    192
  31. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,348
    Hi

    Is the grass moving with a shader ? Also can i have variety of grass, flowers etc

    And does it allow growing grass/flowers gradually ?

    Thanks

    EDIT: Just read some of the answers in one of the posts above :). Only one remains is the shader based motion.