## Maya Training

Introduction to Hard Surface Modeling

## Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

## Maya Training

Shading, Lighting and Rendering the Bedroom in MR

## Maya Training

Robot volume one - Modeling with animation in mind

## Maya Training

Spach-Alspaugh House the complete courseware

## Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

## New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums

# Welcome to Simply Maya

 Simply Maya User Community - Maya Tutorials Instanced Particle Aim Direction
 Register FAQ Members List Calendar Mark Forums Read

 29-05-2003, 04: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, 06: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:

 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, 06: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, 03: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

A little bit about who we are
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.

A Selection of our Bestselling Tutorials
Tutorials by Category
Other Resources on SimplyMaya