SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lighting & Rendering, Dynamics & Effects, Texturing / Dynamics & Special Effects / Scattering an Object Across another Object's Surface
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 21-06-2005, 10:05 PM   #1
Enivob
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?

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

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, 03:13 PM   #3
cyranovb
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?

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

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

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 06:26 PM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 10:56 PM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.