PDA

View Full Version : Tutorial - Grass!



stusic
2007-08-10, 02:17 PM
I've had a bit of time to check out some of the new features of Max 9, and one of the best ones I've seen yet is the inclusion of the Hair & Fur modifier (at least I think it's new to Max 9...).

I've looked and searched and scoured for different methods of easily creating realistic grass but, aside from creating bent triangles and scattering them around, haven't found anything worth using on a consistent basis.

Then, last night, I discovered this wonderful modifier.

With little tweaking, the Hair & Fur modifier creates beautiful grass whose appearance and tones are able to be adjusted, and on top of that, it's fully capable of being animated.

Tutorial:

1. Create a plane. Size isn't so much a factor, as the object that has the modifier can be any size or shape, but for the purpose of this tutorial, keep it relatively small.

2. Apply a white material to the plane and to the environment. This isn't necessary, but it helps to see the effects of the modifier.

3. With the plane selected, add the "Hair and Fur [WSM]" modifier.

4. In the rollout for the H&F modifier, go to "Tools" -> "Presets" -> "Load".

5. A dialogue box opens that shows various presets, including Blonde Hair, Tall Straw, Tall Grass, Sandy Blonde, Red Straight, etc. Choose "Tall Grass [breeze].shp"


That's pretty much it; the default setting seem to work pretty good, although adjusting the cut length may give you more desirable results.

Some values you may want to change are:
Random Scale: Gives random lengths to the blades of grass.
Root Thickness: Adjusts the thickness of the grass at the base (you may want to lower this a bit)
Tip thickness: Same as above, but for the end tip of the blades.
Cut length: Adjusts the overall length of the grass. (I'm not sure what the difference between Cut Length and Scale is)

One thing to mention: You may want to reduce the density (count) of the grass while making adjustments because it's easier to see the effects of changing various values. When you've reached the appropriate look, change the density back to make it thick again.

This technique creates very realistic grass without a lot of work and renders much faster than geometry-based techniques.

See the attached image for a screenshot of the render using only default settings.

Enjoy!

.chad
2007-08-10, 02:43 PM
looks pretty nice!! i wish i could do more (anything) with Max.. :(

dellis
2007-08-10, 03:48 PM
There are alot of things that can be done with this method to really bring up the realism. First, your density parameter can use an image to define where the grass is to be placed. This allows you to paint up a custo map so that you can have grass only in the areas you want...great for inbetween pavers and along building edges and stuff like that. Second, you can place bitmaps in the root and tip colours. This really creates the randomness in colour variation that grass shows in real life. These two things will drastically change the look of the grass....and don;t forget about the styling tools!!!

I'll try to post a render and a maxfile later.

stusic
2007-08-10, 05:22 PM
There are alot of things that can be done with this method to really bring up the realism. First, your density parameter can use an image to define where the grass is to be placed. This allows you to paint up a custo map so that you can have grass only in the areas you want...great for inbetween pavers and along building edges and stuff like that. Second, you can place bitmaps in the root and tip colours. This really creates the randomness in colour variation that grass shows in real life. These two things will drastically change the look of the grass....and don;t forget about the styling tools!!!

I'll try to post a render and a maxfile later.That'd be great! I've still got a lot to figure out about this, but it's nice having this method than any other way I've seen.

This is gonna rock -- I've actully got a project I can use it on now...

a5kira
2007-08-14, 04:38 AM
Doesn't this dramatically increase the face count in the file?

Steve_Bennett
2007-08-14, 05:31 AM
Doesn't this dramatically increase the face count in the file?Maybe, but with the advances in hardware/software recently, polycount is becoming less of an issue...

stusic
2007-08-14, 12:34 PM
It's a rendering effect, so I don't think it actually increases the count -- since there is no actual geometry, the pgon count wouldn't raise, but it does increase the render time because Max has to calculate this effect...

I'm really liking it for 2 big reasons:

1.) You aren't creating 4,000 polygons (or more) in your scene, so it's that much easier to work with the file. In the example above, there's only one plane, so, until I render the effect, there's zero strain on my graphics card.

2.) I save a bunch of time by not having to create those 4,000 polygons; I simply add the modifier and tweak some settings for the kind of look I'm going after.