Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 be used as Primary.  The Primary container provides 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 script.

 

UI Text Box
typeinfo

Example:

Select the a Simulator that you wish to be the Primary one want to have more priority and in the MaxScript editor Listener type: $.oceanpriority = 3

The higher the added value, the higher the Priority of the selected Simulator will be.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.

 

Anchor
OceanSubdiv
OceanSubdiv

...