I have been trying to create expanding ripple rings in either the ocean or pond and have been getting good results. However, when I pass the wake emitter all the way through the surface - and allow the ripples to expand - the center disturbance continues to generate rings. Shouldn't the center become static while the outer rings continue to enlarge?
Also, even though I turn on Raytracing everywhere and try to render the pond or ocean shader (after I bump up the transparency) in MR to use caustics - all I get is black fluid. (And yes, I do have a sub surface to catch the caustics.) I have worked around this by converting fluid to polygon (I only need to render one frame.) If I want to stay in fluids and use MR, is there something I am missing?
Here are a couple of replies I made to a similar thread on cg talk. (same guy??)
In terms of the persistent ripples make sure your emitter is moving clear out of the fluid box. The emission happens when it is inside the box, not when it overlaps the water surface. There will also naturally be secondary ripples as the splash settles down. Adjusting damping and the simulation rate scale can make a difference here.
It looks like you are using fluids to poly. The polymesh is sampled at the fluid resolution. The resulting triangles interpolate the normal values across the triangles, which results in the jagged edges you point out. One could increase the fluid resolution, but this will make things slower. The direct fluid render uses the fluids renderInterpolator attribute. The linear interpolation setting will look bad, but the smooth setting provides a higher order smoothness than one gets with a mesh. The smooth setting also works well with wakes on a ocean, as this interpolation is applied per pixel in the bump phase.
If you need raytrace reflections you can use an ocean with a wake instead of a pond. With the right settings it reflects and refracts rays both in Maya and Mental ray.
It sounds like you want a viscosity term in the solver( this actual attribute on the fluid's node is ignored for spring mesh solvers ).
At any rate I was able to get a clean single wave by making the wake emitter larger and setting the wake fluidDropoff to a large value. You may also need to increase the density emission of the wake. The hard boundary on the sphere when creating a ripple adds a lot of high frequency waves. By using a smooth emitted "dimple" you get minimal small waves.
Thanks for your help! I am unclear about your last points though. You said I may also need to increase the density emission of the wake. How does that help - I don't really see the difference.
Also, you said the hard boundary on the sphere when creating a ripple adds a lot of high frequency waves. And, by using a smooth emitted "dimple" you get minimal small waves. Are you talking about a small emitter now - not the large one with the large fluid drop off that you recommended earlier? How do you create a smooth emitted "dimple?" Is it a volume?
The increase in density emission is just to compensate for increasing the emitter "fluidDropoff". In fact I'm also suggesting increasing the size of the emitter. The default emitter settings result in a hard circular emission.. like a pail shape. By increasing the dropoff we make this more of a dimple shape, avoiding the hard edge at the emitter boundary. It is the hard edge that causes the small waves.