This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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

创建天气效果

Creating atmospheric effects is essentially an artistic task. You can simulate different weather conditions using only the UnigineEditor functionality, unless you need some kind of interaction or complex smooth transitions. This article describes common ways to create such effects in UNIGINE.创造大气效果本质上是一项艺术任务。您可以只使用UnigineEditor功能模拟不同的天气条件,除非您需要某种交互或复杂的平滑过渡。本文描述了在UNIGINE中创建这种效果的常用方法。

Cloudy Sky
多云的天空#

Most weather effects require the overcast sky. In some cases, changing the sky color is enough, but you can also use various types of clouds available out of the box.大多数天气效果需要阴天 sky。在某些情况下,改变sky color就足够了,但是你也可以使用各种类型的clouds

Raindrops and Snowfall
雨滴和降雪#

Raindrops and snowfall effects are similar and usually simulated using Particle Systems. Raindropssnow 效果是相似的,通常使用Particle Systems来模拟。

Check out the particles_rain_effect world of the Art Samples demo (the art_samples > particles > particles_rain_effect world) showcasing a rain effect. You can open it in UnigineEditor and see how it is made. For optimization purposes, this sample controls attachment of the particle systems to the camera via scripting to spawn raindrops only in some local area around the player.查看Art Samples演示的particles_rain_effect世界(art_samples > particles > particles_rain_effect世界)展示了雨的效果。你可以在UnigineEditor中打开它,看看它是如何制作的。出于优化目的,本示例通过脚本控制粒子系统与摄像机的连接,只在玩家周围的某些局部区域生成雨滴。

Lightning
闪电#

Lightning can be simulated in many ways; the most common approach is an emissive Billboard or a mesh depending on the required level of quality. To emulate randomly occuring lightning strikes, you can configure a random Period for billboard-based particles and use a Texture Atlas containing different lightning images. Lightning可以用多种方式模拟;最常见的方法是发射Billboardmesh,这取决于所需的质量水平。要模拟随机发生的闪电,您可以为基于广告牌的粒子配置一个随机的周期,并使用包含不同闪电图像的纹理图集

A more complex solution, including shaders and programming, may be required to simulate how highly-detailed lightning affects the scene lighting.一个更复杂的解决方案,包括着色器和编程,可能需要模拟高度详细的闪电如何影响场景照明。

Fog
#

To simulate fog, take a look at the Environment Haze settings. This feature is great for enriching the scene with mist and dense fog with support for height-dependent density.要模拟 fog,请查看Environment Haze设置。这个特性非常适合用雾和浓雾来丰富场景,并支持高度依赖的密度。

Storm
风暴#

Stormy sea can be implemented using the Global Water waves: you can use a set of predefined Beaufort waves with a smooth transition between the sea states, or customize waves according to your needs. Stormy sea可以使用Global Water waves:您可以使用一组预定义的波福波与海状态之间的平滑过渡,或根据您的需要定制海浪。

Waves can also be controlled via code. A set of the Water Global samples in the CPP Samples suite included in the SDK demonstrates how to use C++ API to control Global Water and fetch water level at a given point simulating a water splash at a point of contact with a boat or another object.Waves也可以通过 code来控制。SDK中包含的CPP Samples套件中的一组Water Global示例演示了如何使用c++ API在给定的点上控制Global Water获取水位,在与船或其他对象接触的点上模拟水花。

Wind
#

Wind is a rather compound effect; there are no global wind settings affecting all the content in the project world. The wind effect could be broken into the following components: Wind是一个比较复合的效果;没有影响项目世界中所有内容的全局风设置。风效应可分为以下几个部分:

  1. Vegetation animation. There are several approaches to animate plants affected by wind requiring certain adjustments when modeling geometry. Check out these tutorials:Vegetation animation. There are several approaches to animate plants affected by wind requiring certain adjustments when modeling geometry. Check out these tutorials:

  2. Physical Wind affecting physical objects and particles with mass.Physical Wind affecting physical objects and particles with mass.
  3. Dust and small flying props can also be made via Particle Systems.粉尘小飞行道具也可以通过粒子系统
  4. Storm at water and movement of clouds is done in the settings of these objects and their materials.Storm at water and movement of clouds is done in the settings of these objects and their materials.

Complex Effects
复杂的影响#

More complex effects like water droplets and streaks on the camera lens, splashes in puddles, screen frost, and windshield wiper effect require shader coding and are provided in the Weather Add-on available starting with the Engineering SDK (Windows only).More complex effects like water droplets and streaks on the camera lens, splashes in puddles, screen frost, and windshield wiper effect require shader coding and are provided in the Weather Add-on available starting with the Engineering SDK (Windows only).

最新更新: 2024-08-16
Build: ()