Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 21-06-2005, 11:05 PM   #1
Registered User
Enivob's Avatar
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Question Scattering an Object Across another Object's Surface

Hi All,

I hope this is the right section.

In 3dsmax you can scatter one object across another objects surface.

How do you do this in Maya?

I have searched the help on the word scatter and all I get is light scattering and subsurface scattering.

What is the terminology that I need, or how do you do it?

Enivob is offline   Reply With Quote
The Following User Says Thank You to Enivob For This Useful Post:
Old 24-06-2005, 08:17 AM   #2
Registered User
Dann's Avatar
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts

I remember scatter. It was nice.

The best way to do this in Maya is with particle instancing. Get ready for show and tell.

1) Create your surface.

2) Select the surface and run Particles > Emit from object

3) Set the emitter type to Surface and the Normal type to 0.

4) Select the object you want to scatter and the particle system (in that order) and run Particles > Instancer

5) In the attribute editor for the particleShape node under Add Dynamic Attributes click General. Add 2 attributes called rotPP, and scalePP with the settings: make keyable, Vector, Per Particle, Add Init State

6) rotPP and scalePP should appear in attribute editor under PP array attributes. Next to either of attributes right click and select Creation Expression.

7) add the following to the creation expression
float $scaleX = rand(1,2);
float $scaleY = rand(1,2);
float $scaleZ = rand(1,2);
scalePP = <<$scaleX,$scaleY,$scaleZ>>;

float $rotX = rand(1,2);
float $rotY = rand(1,2);
float $rotZ = rand(1,2);
rotPP = <<$rotX,$rotY,$rotZ>>;

This will randomize the X,Y,Z values of your object's scale and rotation. You can change these values to your liking.

8) Still with the particleShape node in the attribure editor > Instancer (Geometry Replacement) and set Scale to scalePP, and Rotation to rotPP.

9) Now hit play and watch your object get scattered accross your surface. You can change the scale and rot varibles to your liking. Also, by changing the emitter's emission rate, it will change the scattering pattern.

10) When you're done tweaking and want to keep what you have, run Solvers > Init State > Set for selected and turn off is Dynamic

I hope this works. Let me know if I missed something.
Dann is offline   Reply With Quote
The Following User Says Thank You to Dann For This Useful Post:
Old 21-06-2013, 04:13 PM   #3
Registered User
Join Date: Nov 2007
Posts: 6
Thanks: 0
Thanked 6 Times in 6 Posts
Default Map driven pp attributes

Hey, I hope you are still somewhere out there, although this thread is already 8 years old...
Is there a way to control the size and rotation of the particles/objects with a texture file applied to the emitting surface?

cyranovb is offline   Reply With Quote
The Following User Says Thank You to cyranovb For This Useful Post:

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem solving many dynamic objects in a pile? rohiniduggal Dynamics & Special Effects 3 14-01-2011 07:26 PM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 11:56 PM

Thread Tools

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.