PDA

View Full Version : Fluid Effects


lab00
01-28-2008, 09:10 AM
Hi, i'm trying to create an animated texture with fluidTexture2D.
The goal is to have an effect like moving oil islands over a water surface.
Until now i used a fluidTexture2D, with
Density and Velocity on Dynamic Grid
Temperature and Fuel on Off(zero)
Color Method on Use Shading Color
Gravity 0
Viscosity 1
Friction 5
Damp 0.3
Density Scale 0.5
Density Buoyancy 5
Density Dissipation 0
Density Diffusion 0
Turbulence Strenght 4
Turbulence Frequency 200
Turbulence speed 0.2

Then i painted with Paint Fluids Tool inside the container in a spotty manner the Density to create the islands, instead the water is the space where there isn't any density.
Now if i playback the scene i see the islands moving around but the problem is that they loss consistence immediately while they're moving, until they vanish. And no matter which values i set for Density Buoyancy, Dissipation, Diffusion, or for Viscosity, Friction and Damp, they loss always consistence and i cannot find a way to make them conserve their shapes.

How can i do this? If it's possible, is it better if i use two differente kind of fluids inside the same container? Which are the attributes to change to solve my problem?

Thank you very much.

DrYo
01-28-2008, 07:06 PM
Maya Fluids is a single-fluid solver, so you may never get it to work the way you want. Perhaps try a completely different approach, such as using textures.

lab00
01-29-2008, 11:37 AM
Thank you DrYo,
so, since Fluids is a single-fluid solver, is there any chance to allow these islands to move around without lose their shape and consistence using a single fluid?
If not i'll try a different approach.

DrYo
01-29-2008, 09:57 PM
Make certain that all turbulence is turned off... there are at least two turbulence settings, one in the shape node and one in the emitter (if any). Also set your bouyancy to zero and gravity to zero. Basically, zero out anything that could be affecting the dynamic grid.

lab00
01-30-2008, 03:16 PM
Ok, thank you, i'll try this.

CGTalk Moderation
01-30-2008, 03:16 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.