2
$\begingroup$

i'm currently making a game in 3d and i wondered how to make grass.

I've take this image as example enter image description here

I would like to do something similar to this but i don't understand what exactly this kind of grass is. I always seen grass and leaves as 2d images. So is this a hd 2d images or a 3d object?

In both cases, i guess you need to make your grass repeat on a plane. Is there a function you can use for such stuff or you have to populate the whole thing manually?

Any link for tutorials that explain that, or documentation are welcome. Thank you for your help.

$\endgroup$
7
  • 1
    $\begingroup$ If it were me, i'd use particle systems and a plane, generating grass (hair) strand across the plane. But that's me though, with a gaming computer, that will lag if there's too much and increase render times. So you could try textures but that won't look nearly as nice. $\endgroup$
    – Luka ash
    Mar 31, 2016 at 11:04
  • $\begingroup$ @Rielight Yeah i tought about using texture when i started. But then i saw this image and it looks like those are 3d object and not textures. So as i'm new i wondered how are we doing grass today $\endgroup$
    – Tanaka J.
    Mar 31, 2016 at 11:05
  • $\begingroup$ @Tanka J. Using particles, then hair, you could perhaps achieve the effect you want. Here's a very bad and rushed example. i.imgur.com/faCnH7Q.png $\endgroup$
    – Luka ash
    Mar 31, 2016 at 11:12
  • $\begingroup$ @Rielight I'm total noob so ¯_(ツ)_/¯ how to achieve this but i will search partciles and hair. $\endgroup$
    – Tanaka J.
    Mar 31, 2016 at 11:15
  • $\begingroup$ @Tanka J. Now i'm not to expireneced on particles/hair, so i cannot give this an aswer, but i can point you in a couple directions. Try this creativeshrimp.com/5-tips-for-creating-a-wild-grass-field.html $\endgroup$
    – Luka ash
    Mar 31, 2016 at 11:16

1 Answer 1

2
$\begingroup$

This looks more like an artistic questions than technical problem with Blender, for this sort of thing Blenderartists.org or one of the communities like Google+ are probably the right place to ask, or perhaps some community for the game engine you are trying to use. Also you don't seem to provide enough information for an accurate answers, what game engine will you be using, on what platform? What kind of hardware target are you aiming for, high end, low end?

I am guessing that the techniques used will depend largely on the game engine you are working with. In most cases, grass like the one illustrated involve some sort of 3d geometry, even if it is a simple plane with a texture.

Depending on the level of detail you want it may range from a basic 2d mesh to fully modeled particle of grass combined with diffuse and alpha textures. Most often some clever use of simple geometry to create the illusion of volume without using many polygons.

As for the distribution part, it will depend a lot on the tool available in the engine, placing by hand is likely not practical for very large surfaces, so some sort of particle system or automated distribution tool is used. In Blender you can use the built in particle system, and some texture or vertex group driven density distribution.

If you later plan to export to an external game engine you will have to investigate which method is best supported for it. Most likely you will have to use blender to model a few different single strands of grass, export those and apply them in engine.

Edit: Also have in mind that many of those images are digital paintings or "offline" rendered scenes, not real time interactive ones. In game engines performance is to be considered and there often are limitations on the amount of geometry that can be on screen or in a scene at a certain time.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .