Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Image courtesy of Marcin Jastrzebski

...

Widget Connector
width100%
urlhttps://vimeo.com/43948264/
height510
GET A TASTE OF THE GRASS FEATURE
Get a taste of the Grass feature


The Grass Primitives

The guide curves created and distributed by the Grass Generator have to be replaced by a renderable geometry in order to present an actual surface that can handle a material description and be renderable. This happens at the beginning of the render, when the guides in the MXS file are replaced by one of the following Grass Primitives, that define the shape of each blade of grass.

...

As this primitive is made of an analytic curved surface, it is smooth at each point, no matter how close you look at it. This means you don't need to increase the number of points too much to get a smooth blade. In general, using around 4-6 points per blade is enough to perfectly define the smooth shape, without using too much RAM during rendering. Many more points than this is not necessary for the Curve primitive and will only increase the RAM usage without adding anything to the look of the blade.

...

Note

The Curve grass primitive is slower to render than the Flat primitive. For this reason, we suggest to always use the Flat primitive for the fastest renders and if the camera needs to be very close to the grass blades, use a separate smaller patch of grass that's close to the camera and use the Curve primitive for this patch.

...

Several MaxwellGrass modifiers being applied on the same ground geometry (screenshot from Studio)


...

Two independent grass modifiers applied together to the same ground geometry (hidden here) to create a more natural look by generating a mix of two different grass species

...

As you can see, there are many different options to map the grass surface, combining these two UV channels. Similar to the example above, you can also map a Layers weight with a texture and set it to use UV channel 1. The BSDFs contained in this Layer can in turn have textures using UV channel 0 (root to tip) which are different from the textures used in the BSDFs of the bottom Layerlayer, and also use different material settings such as thin SSS settings. And why not above these two Layers, add a third one, with a simple color texture (using channel 1) and set the layers layer's weight very low just to add even more subtle color variation across the grass surface.

...

Randomize the length of each blade, specifying the range of possible length values as a percentage of the nominal Length parameter. For example, if Length is set to 10cm and Length variation is set to 50%, the length of the blades will be randomized between 5cm and 15cm.

...

Randomize the growth angle by a percentage of the initial angle variation. For example, if the initial angle is set to 70 degrees and variation is 10%, the angle will be randomized between 63 and 77 degrees.

...

Tip

For a tutorial on creating an angle map in Photoshop, see the Grass Tutorials page in the Tutorials section. Two Photoshop actions are also available on that page to automatically create an angle map from a black & white drawing.

...

The Cut Off feature allows you to cut the grass as if it were mowed, producing and abrupt cut. 


...

Different values for Cut Off 
  • Cut Off

The length of the blade (in percentage) at which the blade will be cut. The blade grows as usual until this point, after which it will be cut. A value of 100% will let the blade to grow up to its nominal length (no cut at all), while a value of 0% will cut the blade at its very birth (at zero length). 

...

Adjusting the grass display settings to display just  10% of the generated fibers in the viewport (screenshot from Studio) 


 

Tutorial by MaxwellZone

This tutorial shows you how to create presets for the grass extension. These presets will show up in the 'Preset' dropdown in the Grass extension, allowing you to quickly recreate a certain look."