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 Weather

A Field Weather is an object that specifies location of local cloud coverage areas within cloud layers. The FieldWeather object allows creating local storms or clouds that have their own coverage texture as well as to control their movement. The number of FieldWeather objects in the scene is not limited as their impact on performance is not significant.Field Weather - это объект, который указывает расположение локальных областей облачности в пределах слоя облаков . Объект FieldWeather позволяет создавать локальные штормы или облака, которые имеют свои собственные текстуры покрытия а также контролировать их движение. Количество объектов FieldWeather в сцене не ограничено, поскольку их влияние на производительность незначительно.

Примечание
A Field Weather coverage is visible only when the camera is within the dynamic coverage area, which can be set up via the Settings window.
A FieldWeather object will affect clouds only if the Field mask matches the Field Weather mask of the clouds_base material.
Покрытие Field Weather видно только тогда, когда камера находится в пределах области динамической облачности , который можно настроить с помощью окна Settings.
Объект FieldWeather будет влиять на облака, только если маска Field совпадает с маской Field Weather материала clouds_base.

Local stormcloud created by using a Field Weather objectЛокальное грозовое облако, созданное с помощью объекта Field Weather

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

  • The FieldWeather class to manage FieldWeather objects via APIКласс FieldWeather для управления объектами FieldWeather через API

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

To add a Field Weather object in the world via UnigineEditor, do the following:Чтобы добавить объект Field Weather в мир через UnigineEditor, сделайте следующее:

  1. On the Menu bar, choose Create -> Sky -> Field Weather.

    В строке меню выберитеCreate -> Sky -> Field Weather.

  2. Place the Field Weather object in the world. It doesn't matter if it intersects a CloudLayer object or not, only X and Y coordinates are used.Поместите объект Field Weather в мир. Не имеет значения, пересекает ли он объект CloudLayer или нет, используются только координаты X и Y.
  3. Go to the Node tab of the Parameters window, and set up necessary parameters.Перейдите на вкладку Node окна Parameters, и настройте необходимые параметры .

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

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

Setting Bit Masks and SizeУстановка битовых масок и размера#

Field Mask A field mask. The Field Weather object is applied to a cloud layer only if they have matching masks.Маска поля. Объект Field Weather применяется к облачному слою, только если их маски совпадают .
Viewport Mask A Viewport mask. A bit mask for rendering the Field Weather object into the current viewport. For the Field Weather object to be rendered into the viewport, its mask should match the camera Viewport mask.Маска Viewport. Битовая маска для визуализации объекта Field Weather в текущем окне просмотра. Чтобы объект Field Weather отображался в окне просмотра, его маска должна соответствовать маске камеры Viewport.
Size Size of the Field Weather object along the axes in units.Размер объекта Field Weather по осям в единицах.

Setting Clouds ParametersУстановка параметров облаков#

Attenuation Type Type of attenuation shape. This parameters determines the way the local clouds of the Field Weather object are mixed with the surrounding clouds. Can be one of the following:
  • Sphere
  • Box
Attenuation type = Sphere
Attenuation type = Box
Тип формы затухания. Этот параметр определяет способ, которым локальная облачность объекта Field Weather смешивается с окружающими облаками. Может быть одним из следующих:
  • Sphere
  • Box
Attenuation type = Sphere
Attenuation type = Box
Attenuation Attenuation factor indicating how much the coverage texture attenuates starting from the center of the Field Weather object to its edges.
  • By the minimum value of 0, only local coverage texture of the Field Weather object is visible (the coverage texture of the CloudLayer is totally cut out from the Field Weather area).By the minimum value of 0, only local coverage texture of the Field Weather object is visible (the coverage texture of the CloudLayer is totally cut out from the Field Weather area).
  • The higher the value, the less surrounding clouds (CloudLayer coverage) are cut out from the Field Weather area.The higher the value, the less surrounding clouds (CloudLayer coverage) are cut out from the Field Weather area.
Attenuation = 0.5
Attenuation = 1.5
By the minimum value of 0, only local coverage texture of the Field Weather object is visible (the coverage texture of the CloudLayer is totally cut out from the Field Weather area).The higher the value, the less surrounding clouds (CloudLayer coverage) are cut out from the Field Weather area.
Коэффициент затухания, показывающий, насколько текстура покрытия ослабляется, начиная с центра Field Weather к его краям.
  • By the minimum value of 0, only local coverage texture of the Field Weather object is visible (the coverage texture of the CloudLayer is totally cut out from the Field Weather area).При минимальном значении 0 видна только локальная текстура покрытия объекта Field Weather(текстура покрытия CloudLayer полностью вырезана из области Field Weather).
  • The higher the value, the less surrounding clouds (CloudLayer coverage) are cut out from the Field Weather area.Чем выше значение, тем меньше окружающих облаков (покрытие CloudLayer) вырезается из области Field Weather.
Attenuation = 0.5
Attenuation = 1.5
Power Determines the contrast of the coverage texture. Makes it possible to gradually increase cloudiness without changing the coverage texture. This parameter is analogous to Coverage Contrast parameter of the clouds_base material.
Примечание
For this parameter to work properly, the coverage texture must not contain absolutely black pixels.For this parameter to work properly, the coverage texture must not contain absolutely black pixels.
For this parameter to work properly, the coverage texture must not contain absolutely black pixels.
Определяет контраст текстуры покрытия. Позволяет постепенно увеличивать облачность без изменения текстуры покрытия. Этот параметр аналогичен параметру Coverage Contrast материала clouds_base.
Примечание
For this parameter to work properly, the coverage texture must not contain absolutely black pixels.Для правильной работы этого параметра текстура покрытия не должна содержать абсолютно черных пикселей.
Intensity Determines the degree of impact of the coverage texture of the Field Weather object on the clouds.Определяет степень воздействия текстуры покрытия объекта Field Weather на облака.
Coverage texture An RGB8 coverage texture for the Field Weather object. This texture is similar to the coverage texture of the clouds_base material.Текстура покрытия RGB8 для объекта Field Weather. Эта текстура похожа на текстура покрытия материала clouds_base.
Wind Enabled Indicates whether the local wind inside the Field Weather object is enabled.Указывает, включен ли локальный ветер внутри объекта Field Weather.
Wind Wind speed in each direction inside the Field Weather object. The wind along X and Y axes shifts local coverage texture at the specified rates in the corresponding directions. This parameter can be used to animate clouds inside the Field Weather object. The texture shifting is looped inside the object, as the wind affects only its offset.
No wind
Wind X = 100
Примечание
Setting wind speed values to zero does not return the texture to its initial state. In order to return the initial state disable local wind by unchecking the Wind enabled option.Setting wind speed values to zero does not return the texture to its initial state. In order to return the initial state disable local wind by unchecking the Wind enabled option.
Setting wind speed values to zero does not return the texture to its initial state. In order to return the initial state disable local wind by unchecking the Wind enabled option.
Скорость ветра в каждом направлении внутриField Weatherобъект. Ветер по осям X и Y axes shifts local coverage texture at the specified rates in the corresponding directions. This parameter can be used to animate clouds inside the Field Weatherобъект. Сдвиг текстуры зацикливается внутри объекта, поскольку ветер влияет только на его смещение.
No wind
Wind X = 100
Примечание
Setting wind speed values to zero does not return the texture to its initial state. In order to return the initial state disable local wind by unchecking the Wind enabled option.Установка значений скорости ветра на ноль не возвращает текстуру в исходное состояние. Чтобы вернуть исходное состояние, отключите локальный ветер, сняв отметку с опции Wind enabled.
Последнее обновление: 17.04.2021
Build: ()