This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

Field Height

A field height is an object, specifying global water areas where height should be changed (for wakefields, water disturbance, etc.). Field Height - это объект, объекта определяющий участки Global Water , высота которых должна быть изменена (из-за кильватерного следа, волнения воды и т.д.).

Global Water object has heightmap for waves and FieldHeight has its own heightmap. Inside the field, the heightmap of the global water is gradually changing from the center of the field height object.У объекта Global Water есть карта высот для волн, а у FieldHeight - собственная карта высот. Внутри поля карта высот глобальной воды постепенно изменяется от центра объекта FieldHeight.

Примечание
A field height object will affect water only if the FieldHeight Interaction option is enabled on the States tab of the water_global_base material.Объект FieldHeight будет влиять на воду только в том случае, если включена опция FieldHeight Interaction на вкладке States материала water_global_base.

FieldHeight objects work fine with particle systems and decal objects.Объекты FieldHeight отлично работают с системами частиц, а также с декалями .

Water disturbance near the buoy is made by using FieldHeight object.Возмущение воды возле буя реализовано с помощью объекта FieldHeight.
Примечание
The maximum number of FieldHeights rendered per frame/bit mask is limited to:
  • 113 (DirectX)
  • 14 (OpenGL)
Максимальное количество полей FieldHeights, отображаемых на кадр / битовую маску, ограничено:
  • 113 (DirectX)
  • 14 (OpenGL)

See alsoСмотрите также#

Adding Field HeightДобавление Field Height#

To add a height field in the world via UnigineEditor, do the following:Чтобы добавить Field Height в мир в UnigineEditor, сделайте следующее:

  1. On the Menu bar, choose Create -> Water -> Field Height.

    В меню выберите Create -> Water -> Field Height.

  2. Place the height field in the world so that it intersects Global Water object.
    Примечание
    Make sure that the FieldHeight interaction option is enabled for water_global_base material.Make sure that the FieldHeight interaction option is enabled for water_global_base material.
    Make sure that the FieldHeight interaction option is enabled for water_global_base material.
    Поместите поле FieldHeight в мире так, чтобы оно пересекало объект Global Water.
    Примечание
    Make sure that the FieldHeight interaction option is enabled for water_global_base material.Убедитесь, что опция FieldHeight interaction включена для материала water_global_base.
  3. Go to the Field Height tab of the Parameters window and set up necessary parameters.Перейдите на вкладку Field Height окна Parameters и настройте необходимые параметры .
Примечание
After adding a Field Height object to the scene, you can't see any changes of the global water object because Field Height object doesn't have any default heightmap texture.После добавления объекта Field Height в сцену вы не увидите никаких изменений объекта Global Water, потому что объект Field Height не имеет текстуры карты высот по умолчанию.

Setting Up Field HeightНастройка Field Height#

In the Field Height section (Parameters window -> Node tab), the following parameters of the height field can be adjusted: В разделе Field Height (окно Parameters → вкладка Node) можно настроить следующие параметры поля FieldHeight:

Setting Bit MasksУстановка битовых масок#

Field Mask A Field mask. A bit mask that specifies an area of the height field to be applied to water. The height field will be applied to water only if they have matching masks.Маска Field. Битовая маска, определяющая область поля высоты, применяемую к воде. Поле высоты будет применено к воде, только если они имеют совпадающие маски .
Viewport Mask A Viewport mask. A bit mask for rendering the height field into the current viewport. For the height field to be rendered into the viewport, its mask should match the camera Viewport mask.Маска Viewport. Битовая маска для отображения поля FieldHeight в текущем окне просмотра. Чтобы поле FieldHeight отображалось во вьюпорте, его маска должна соответствовать маске камеры Viewport.

Setting Height ParametersУстановка параметров высоты#

Size Size of the height field along the axes in units.Размер поля FieldHeight по осям в единицах.
Attenuation An attenuation factor indicating how much global water object's heights gradually changing from the center of the height field.
  • The higher the value, the less heights of the Field Height will have influence on the heights of the Global Water object.The higher the value, the less heights of the Field Height will have influence on the heights of the Global Water object.
The higher the value, the less heights of the Field Height will have influence on the heights of the Global Water object.
Коэффициент затухания, показывающий, насколько высота объекта Global Water постепенно изменяется от центра поля FieldHeight.
  • The higher the value, the less heights of the Field Height will have influence on the heights of the Global Water object.Чем выше значение, тем меньшая высота Field Height будет влиять на высоту объекта Global Water.
Power Power parameter is a multiplier for FieldHeight heightmap texture values.
  • The higher the value, the more heights of the Field Height will have influence on the heights of the Global Water object.The higher the value, the more heights of the Field Height will have influence on the heights of the Global Water object.
The higher the value, the more heights of the Field Height will have influence on the heights of the Global Water object.
Параметр мощности - множитель для значений текстуры карты высот FieldHeight.
  • The higher the value, the more heights of the Field Height will have influence on the heights of the Global Water object.Чем выше значение, тем большая высота Field Height будет влиять на высоту объекта Global Water.
Order Rendering order of the Field Height. This parameter is used to properly apply fields with mixed blend modes. Порядок рендеринга Field Height. Этот параметр используется для правильного применения полей со смешанными режимами наложения .
Blend Mode Bending mode of the Field Height. Available values are Additive, Multiplicative.
Примечание
The Attenuation parameter is interpreted depending on the selected blending mode:
  • It is used as a multiplier for the Additive mode.It is used as a multiplier for the Additive mode.
  • lerp(1.0f, value, attenuation) is used for the Multiplicative mode.lerp(1.0f, value, attenuation) is used for the Multiplicative mode.
It is used as a multiplier for the Additive mode.lerp(1.0f, value, attenuation) is used for the Multiplicative mode.
The Attenuation parameter is interpreted depending on the selected blending mode:
  • It is used as a multiplier for the Additive mode.It is used as a multiplier for the Additive mode.
  • lerp(1.0f, value, attenuation) is used for the Multiplicative mode.lerp(1.0f, value, attenuation) is used for the Multiplicative mode.
The Attenuation parameter is interpreted depending on the selected blending mode:
  • It is used as a multiplier for the Additive mode.It is used as a multiplier for the Additive mode.
  • lerp(1.0f, value, attenuation) is used for the Multiplicative mode.lerp(1.0f, value, attenuation) is used for the Multiplicative mode.
It is used as a multiplier for the Additive mode.lerp(1.0f, value, attenuation) is used for the Multiplicative mode.
Режим наложения Field Height. Доступные значения: Additive, Multiplicative.
Примечание
The Attenuation parameter is interpreted depending on the selected blending mode:
  • It is used as a multiplier for the Additive mode.It is used as a multiplier for the Additive mode.
  • lerp(1.0f, value, attenuation) is used for the Multiplicative mode.lerp(1.0f, value, attenuation) is used for the Multiplicative mode.
It is used as a multiplier for the Additive mode.lerp(1.0f, value, attenuation) is used for the Multiplicative mode.
Параметр Attenuation интерпретируется в зависимости от выбранного режима наложения:
  • It is used as a multiplier for the Additive mode.Он используется как множитель для режима Additive.
  • lerp(1.0f, value, attenuation) is used for the Multiplicative mode.для режима Multiplicative используется lerp(1.0f, value, attenuation).
Texture Heightmap R16 or R32F (1-channeled) texture (controlled by the render_field_precision console command). Heightmap texture is used to create an additional height displacement for water surface.Карта высот R16 или R32F (1-канальная) текстура (управляется консольной командой render_field_precision). Текстура карты высот используется для создания дополнительного смещения высоты поверхности воды.
Последнее обновление: 19.05.2022
Build: ()