### Keep up-to-date with Free tutorials!!

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more

Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

1 | 2 | 3

By Nicolas d'Haussy
Web: Open Site
| 6329 Views
| 0
Software used:
Maya
Contrary to other classic 3d package, Maya has not dedicated any tools to spread objects and it is often asked how to indeed. Placing each object would be stupid and exhausting. In this article, I demonstrate five methods from my own experience/analysis and some talking boards threads. But their may exist many other methods that I did not list... for instance at rendering or at compositing. Feel free to contact me about this article or just to give your opinion about it. I really hope my article could help you.

## 1 - Paint objects on surface

geometryPaint is a melscript coded tool bundled with maya (or with the free Bonus Tools pack). Geometry paint enables to use the artisan paint tools to paint objects on a surface. How does this tool work? It places some duplications of an object where you paint on the selected surface. It's a good spreading tool because that is you who choose where to spread objects.

To activate geometryPaint, go Modify>Script Paint Tool options. On the Setup panel, type "geometryPaint" into the "Tool Setup Cmd" text field. Then the other text fields will be entered, and the Geometry Paint Settings window will appear. Type the name of the geometry you want to spread in the "Geometry" text field. Then select the surface and paint on. Lets tweak parameters! For instance, check the "Align" box to have the objects to be spread according to surface normals. Or to randomly scale the objects size, check all scale axis. To work easier, setup the paint tool before.

Geometry paint tool workflow

A poor sheep brought to a isolated part of the cliff

## 2 - Map driven spreading method

I have coded a melScript called mapSpread that spread objects function to a texture map. So you have just to design 2D a black and white map or use another Maya 2d texture in order to spread objects randomly. Useful in numerous cases, for instance create a forest crossed by a river. How does it work? This script analyses the color of a random point of the map. Then if the color is brighter than the threshold you have given, an object is placed here. Then analyses another point colour.

mapSpread melscript tool example of use (That is not blob particles but several spheres)..

After placing, lets manage the object array/cloud via other melScript tools, such as the ones studied in last the part. (Note I think it is possible to use the geometryPaint tool this way after having applied this kind of alpha map on the object. Lets setup the paint tool so as to paint only on the white parts of the alpha maps. I have not already tested it.).

## 3 - Using particle instance

Particle instancing is a really fast method. The particle instance replaces each particle with an object. Obviously, to use the particle instance, you have to create a range of particles. You can use a particle emitter or the particle paint tool (as easily as the paint geometry tool). Then select your particle shape and create an instance (Dynamics mode, menu Particles>Instance options).

Particle paint tool setup

1 | 2 | 3
Related Tutorials

Tutorial

Creating Cracks in Ice, Ice Age-style

Keywords: cracks, ice, ice age, modeling,

(9)
3 12020

Tutorial

Hard Surface Essentials

Keywords: surface, essentials, modeling, max,

2 17142

Tutorial

Ivy Generator Scene with V-Ray 2.0

Keywords: scene, ivy, modeling, torus, max,

9 66546

Tutorial

All-In-One Basics Tutorial

Keywords: basics, lighting, modeling, texturing, rendering,

1 35346