Phoenix seems to do a decent job of automatically merging ocean meshes from multiple liquid simulators (though I often get issues if the simulators overlap). But, what controls which Ocean mesh because the primary one used for the Ocean Mesh settings? I have had it change, and I am wondering if there is a way to pin it to a particular simulator so we can turn off those warning, and still no which simulator it is.
Thanks.
Hey,
You specify the priority by using the following maxscript option of the Simulator.
oceanpriority – Script parameter with a default value of 0. This parameter can be used for controlling which is the primary ocean container when several ones are merged together. The Simulator with the highest priority will provide the material and the rendering settings (the Ocean Level, the Ocean Subdivs, etc.) for the merged ocean. The actual combined mesh is not affected by the ocean priority.
Example:
Select a Simulator that you want to have more priority and in the MaxScript Listener type: $.oceanpriority = 3
The Simulator with the highest priority in the scene will be the one whose material and ocean settings will be used by the combined ocean mesh.
When merging multiple simulators in one ocean mesh they shouldn’t overlap at all, otherwise you will get artifacts.
Awesome. Thanks, @georgi.zhekov
I’m in the process of trying to merge 3 liquid simulators of different sizes together that overlap. It’s a scene with 3 ships sailing side by side. I have my main one using Ocean Mesh and the remaining 2 set as Cap Mesh. This seems to work if the ocean levels align between the sims (only 2 are aligned). Is there a way to align the liquid simulators together along the ocean level axis?
Will i run into issues down the line rendering this using this method or could this be a solution for merging ships sailing in the ocean together when they overlap?