Page History
This page provides a tutorial on creating a Ship in the Ocean simulation with Chaos Phoenix in Maya.
Overview
UI Text Box | ||
---|---|---|
| ||
This is an Advanced Level tutorial. The workflow for setting up the shot, and the Phoenix settings involved in the simulation are explained in detail. However, creating a production quality shot of a similar nature may require some tweaks to the lighting, materials and/or the Phoenix simulation. |
Section | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Units Setup
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Geometry Setup
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
UI Text Box | ||
---|---|---|
| ||
If you find that the speed of your vessel is too high and the waves generated at the front are too big, you can easily reduce the speed by setting the Translate Z values to a lower number. Please check the example videos below. |
...
...
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Simulation
...
UI Text Box | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
UI Text Box | ||
---|---|---|
| ||
Consider the Simulator size required by a meteor flying through the air or a ship sailing through the ocean - the simulation time and memory requirements of a Simulator spanning the entire path of the object would be enormous. Instead, Phoenix provides a feature called Motion Inertia that allows you to confine the simulation to a small portion of the path of a moving piece of geometry. This allows you to link the simulation box to the geometry and reduce the size of the grid to a more manageable resolution. The movement of the Simulator in your scene will then affect the liquid inside the grid. This is an immense performance boost that you should aim to take advantage of whenever possible. |
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
UI Text Box | ||
---|---|---|
| ||
In this tutorial, the Foam particles that generate the trail of the ship are created from Splash particles. Splash particles, on the other hand, are born when the liquid surface is turbulent. Not only will the simulation look better with the liquid source at the back of the ship but you get foam and splashes for free. Check the FLIP Particles Life Cycle page for more info. If you'd like to have greater control over the foam trail at the back of your vessel, the most straight-forward approach would be to use this exact same technique mixed in with a different Outgoing Velocity, Modifiers, Texture maps for the Discharge, or even using the Noise parameter of the Phoenix Liquid Source. |
...
UI Text Box | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
...
UI Text Box | ||
---|---|---|
| ||
Here's how this works:
This is done with the intention of preserving the liquid volume. X amount of liquid produces Y amount of splash particles. Then, when the splash particles enter the water, they are converted back into liquid particles. So Y amount of splash particles is converted back into X amount of liquid. This process is controlled by the Affect Liquid parameter at the bottom of the Splash/Mist rollout. The default value of 1 is what Phoenix considers a physically correct behavior that preserves the liquid volume. For more information, visit the FLIP Particles Life Cycle page. |
UI Text Box | ||
---|---|---|
| ||
The Liquid → Splash → Liquid example above is correct only in case the Affect Liquid parameter is greater than 0. If set to 0, Liquid particles are NOT killed when generating Splash particles, and Splash particles are NOT converted into liquid when they enter the body of water and die. |
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
UI Text Box | ||
---|---|---|
| ||
The Foam Lifespan is your main control for the length of the foam trails to the side and in the back of the ship. If a shorter foam trail is required for your simulation, reduce the lifespan accordingly. Also note that the longer the trails are (the higher the lifespan), the more bubbles will accumulate during the course of the simulation - this has the potential of slowing things down and consuming more memory. |
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
...
UI Text Box | ||
---|---|---|
| ||
The Foam Patterns section controls the distribution of the foam particles over the liquid surface. The Pattern Radius option controls the size of individual 'circles' while the Pattern Strength controls how strongly the forces which form the patterns are enforced. |
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
UI Text Box | ||
---|---|---|
| ||
Droplet Surfing is your main control for the width of the foam trail. Increasing it allows the liquid and splash particles to spread out by sliding over the liquid surface, instead of immediately stopping when they hit the liquid mass. Since Foam is born by the Splash particles, this would allow the foam trail to become wider. Reducing Splash Threshold would further enhance the effect. |
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Rendering
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Water Material
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Ocean Bottom
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Phoenix Particle Shaders
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Lighting & V-Ray Render Settings
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|