XGen comes with samples of Alembic-based geometry and material files that you can add to your scene. These files are located in the
archive folder in the
Maya installation directory. For example:
Tip: Before starting, copy the default archive primitive geometry and the supporting files from the
Maya install directory to the
C:\Users\username\Documents\xgen\archives folder.
In this section, you add grass clumps to a vegetation landscape.
Select the polygon mesh on which you want to instance archive geometry.
In this example, the archive objects are added to a sculpted polygon plane.
Select
XGen > Create Description.
In the
XGen window, type
Description and
Collection names.
Create an archive primitive Description by setting the following:
What kind of Primitives are made by this Description? to Custom Geometry/Archives (use for any model you have created).
Generate the Primitives to
Randomly across the surface.
Control the Primitives by to
Placing and shaping Guides.
Click
Create.
The mesh is now bound to the Description. Use the
Add or Move Guides tool to place the guides on the mesh surface.
In XGen toolbar, click this icon
to select the
Add or Move Guides
tool.
Click areas on the mesh to place the guides.
The guides for archive primitives display on the mesh as orange cubes. You can now specify which archived geometry you want to instance on the mesh.
Click the
Primitives tab and scroll to the
Archive Files section.
Click
Add and then browse to the location of the
archives folder.