Maya : Fluids


Maya fluid note to self

Emitting nParticles from nPartciles

If you want to emit nParticles from other nParticles it is just to select thenParticles and then emit from object. This will push the source emitting nParticles forward by the collision of the emitted particles. To turn this behaviour off disable the collisions of the source (the emitting ) particle.

If forcefiled generation is turned on of the emitted particles tey will also propell the source emitting particle.

To make nParticles not collide with nCloth

To make an nParticle just pass through an nCloth set the collision layer of the nParticle to something greater then the collision layer of the nucleus.

For instance the default collision layer range of a nucleus is 4 ( Nucleus>solver attributes>collision layer range). if we set the collision layer of the nCloth ( nClothShape>collisions>collision layer) to something greater then the collision layer range of the nucleus, they will not collide.

For a puff of smoke or dust effect (at the footsteps of a character, for example)

  • key fluidEmitter > Fluid Attributes > Density/Voxel/Sec
  • and maybe > Heat/Voxel/Sec to 0, then 20 for a few frames, then 0 again.

Set color of emitted fluid & blend colors

  • seledct the container contents method > color method set it to dynamic grid
  • To set the color of fluid select the emitter > Fluid attributes > enable emit fluid color and then select the color tou want.
  • add more emitters, set the color and the color are blended togheter.

To render a 2d fluid as a displaced surface

  • create a 2d fluid and emitter
  • enable use heightfield
  • set the depth to a higher value
  • shading > set the transparency to 0
  • shading > color > create a bw gradient
  • shading > set the color input to density

Leave a Reply

Your email address will not be published. Please enter your name, email and a comment.

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>