Object Spreading Methodsby Nicolas dHaussy, France
Web: http://ndhaussy.free.fr
Contrary to other classic 3d package, Maya has not dedicated 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 board’s threads. But there 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.
- Paint objects on surface
- Map driven spreading method
- Using particle instancer
- Animation driven spreading
- Melscripting Issues
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 gemometry you want to spread in the "Geometry" text field. Then select the surface and paint on. Let’s tweak parameters! For instance, check the "Align" box to have the objects to be spreaded 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 |
Map driven spreading Methods
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 color... Download mapSpread Melscript
mapSpread melscript tool example of use (That is not blob particles but several spheres) |
After placing, let’s 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. Let’s setup the paint tool so as to paint only on the white parts of the alpha maps. I have not already tested it.)
Advertisement
web hosting is the core of online business, that's why yahoo hosting is always preferred. As the competition is getting faster, seo companies playing their role in ppc advertising to promote websites.ip phones are becoming cheapest way of communication, many web design tool are available to make SEO friendly websites.
|
|
|