# SimplyMaya Forums

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

 Register FAQ Members List Calendar Mark Forums Read

 29-05-2003, 03:36 AM #1 Calvin Registered User   Join Date: Nov 2002 Location: Philippines Posts: 134 Thanks: 1 Thanked 3 Times in 3 Posts Instanced Particle Aim Direction Hi, fellas, I have this little issue about instanced particles. I'm experimenting on making rain with particles, and I now have some instanced geometry on particles, pouring away. But when I apply a filed on it like turbulence, the instanced geometry points everywhich way, very unlike rain. Anyone know how to make the instanced geometry point in the direction it's travelling? I kow it was in a Gnomon video but I don't have in on hand right now. Thanks in advance guys!
29-05-2003, 05:15 AM   #2
ragecgi
Super Moderator

Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts

Well, in the Gnomon video that talked about RGBSpeed, it uses the same idea. ( sortof )

But, are you applying the field to the whole particle shape node? ..or PerParticle?

file:///C:/Program Files/AliasWavefront/Maya4.5/docs/en_US/html/UserGuide/Dynamics/Particles43.html#191045

Basicly, in the Particle shape settings, here are a few attributes that you can play with to help you:

Quote:
 AimDirection: Sets the orientation of the instanced objects by specifying the direction along which each instanced object points relative to the original position of its local origin. The default seting is None, which use the value of 1, 0, 0. See also RotationType. Note that you can make an object point in the direction the particles are moving by selecting velocity. See Aiming instanced geometry for more information. AimPosition: Sets the orientation of the instanced objects by specifying the location where each instanced object points relative to the original position of its local origin. The default settins is None, which uses the value of 0, 0, 0. See RotationType for important details. AimAxis: Specifies the object axis that points directly at the AimDirection or AimPosition. AimAxis is a vector attribute that works only with AimDirection and AimPosition rotation types. The default setting is None, which uses the value of 1, 0, 0. AimUpAxis: Specifies the object axis that points up (as much as possible) relative to how the AimAxis points at the AimDirection or AimPosition. In this context, up is the direction the world up-axis points (see AimWorldUp). AimUpAxis is a vector attribute that works only with AimDirection and AimPosition rotation types. The default setting is None, which uses the value of 0, 1, 0. For example, suppose the AimPosition is set to the origin of the workspace, and the world space Y-axis (0, 1, 0) is the AimWorldUp value. An instanced object's X-axis (1, 0, 0) is the AimAxis value, and the object's Y-axis (0, 1, 0) is the AimUpAxis value. The object's X-axis points directly at the origin wherever the object moves in the workspace. The object is rolled around its X-axis as necessary to keep its Y-axis aiming up as much as possible. Up is defined by the AimWorldUp setting, which in this case is set to the world's Y-axis. AimWorldUp: Sets, in world coordinates, the axis that indicates the up direction used by the AimUpAxis. AimWorldUp is a vector attribute that works only with AimDirection and AimPosition rotation types. The default setting is None, which uses the value of 0, 1, 0. This attribute is unaffected by the setting for the World Coordinate System's Up Axis found in the Window > Settings/Preferences > Preferences > Settings window.
PS, why might I ask are you using instances for rain?

Are you going to need to see individual details of a given drop?
If so, cool

If not, might I suggest the typical rain solution using the simple streak(HW) particle type with, or without, multi-pass rendering?

Just FYI
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com

 29-05-2003, 05:30 AM #3 Calvin Registered User   Join Date: Nov 2002 Location: Philippines Posts: 134 Thanks: 1 Thanked 3 Times in 3 Posts Thanks for the info, RageCGI. I'll play around with those settings. I recall Alex Alvarez using an expression though... Hmm... Anyway, I'm playing around with instanced rain drops because I'm thinking of working on a scene where a volume spotlight sweeps an area at night in the rain. I can get highlights from the drops when the spotlight shines on them with this method, then you don't see the rest of the rain drops outside of the spotlight's beam. I know I could composite HW into the rendered scene and mask out the drops I don't want, but I wanted to explore this avenue too. If you have any ideas, please let me know. I was also thinking of rendering a spotlight beam on its own just to use it as an alpha element in Combustion. Thanks again!
 29-05-2003, 02:34 PM #4 ragecgi Super Moderator     Join Date: Sep 2002 Location: Minnesota, USA Posts: 3,709 Thanks: 0 Thanked 13 Times in 12 Posts I would try it in post like you said Good luck! Sounds like you're on the right track __________________ Israel "Izzy" Long Motion and Title Design for Broadcast-Film-DS izzylong.com

 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

## \$34

Month-to-month billing

## \$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.

## \$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.