Docsity
Docsity

Przygotuj się do egzaminów
Przygotuj się do egzaminów

Studiuj dzięki licznym zasobom udostępnionym na Docsity


Otrzymaj punkty, aby pobrać
Otrzymaj punkty, aby pobrać

Zdobywaj punkty, pomagając innym studentom lub wykup je w ramach planu Premium


Informacje i wskazówki
Informacje i wskazówki


Interactive World Dokument, Notatki z Informatyka

Interactive World Dokumentacja

Typologia: Notatki

Przed 2010

Załadowany 05.11.2023

the-foxi
the-foxi 🇵🇱

1 dokument

1 / 39

Toggle sidebar

Ta strona nie jest widoczna w podglądzie

Nie przegap ważnych części!

bg1
1
Interactive World V1.3 Wind & Fog
Documentation
Sun BoHeng
Create interactive snow, mud, water and foliage, fog area and wind field in large world.
Catalogue
Features................................................................................................... 2
World Drawing Board.......................................................................2
Brush................................................................................................3
Features of Snow Simulation ............................................................ 3
Special Note............................................................................................. 3
Limitations ....................................................................................... 3
Noteworthy points ........................................................................... 4
Quick Start............................................................................................... 5
Step 0: Before Start.......................................................................... 5
Step1: Add Function to Your Materials ............................................. 8
Step 2: Attach Interact Brush to Your Character .......... ................... 13
Step 3: Set Interact Area with Interact Volume ........................... ... 15
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27

Podgląd częściowego tekstu

Pobierz Interactive World Dokument i więcej Notatki w PDF z Informatyka tylko na Docsity!

Interactive World V1.3 Wind & Fog

Documentation

Sun BoHeng Create interactive snow, mud, water and foliage, fog area and wind field in large world. Catalogue Features ................................................................................................... 2 World Drawing Board ....................................................................... 2 Brush ................................................................................................ 3 Features of Snow Simulation ............................................................ 3 Special Note ............................................................................................. 3 Limitations ....................................................................................... 3 Noteworthy points ........................................................................... 4 Quick Start ............................................................................................... 5 Step 0: Before Start .......................................................................... 5 Step1: Add Function to Your Materials ............................................. 8 Step 2: Attach Interact Brush to Your Character ............................. 13 Step 3: Set Interact Area with Interact Volume .............................. 15

Step4:Active Drawing Board ........................................................... 18 Settings .................................................................................................. 20 World Drawing Board ..................................................................... 20 Interact Brush ................................................................................ 23 Use Guide .............................................................................................. 26 Use Low-Quality Snow Simulation .................................................. 26 Further optimization: ..................................................................... 27 Use with Sequencer ....................................................................... 28 Use with Swimming and Boats ....................................................... 30 Wind and Fog ................................................................................. 30 Flow map ....................................................................................... 32 UPDATE .................................................................................................. 33 Update Guideline ........................................................................... 33 Update Log ..................................................................................... 35 My Videos about This Plugin .................................................................. 37

Features

World Drawing Board

 Snow trails  Water waves simulation  Foliage(grass) interact

rectangle,whose X not equals Y,but Brush will draw incorrectly when there are rotation in Brush or Drawing Board.You’d better set Render Target size And “Canvas World Size” as a square.  Although you can find “Canvas World Yaw” in “BP_DrawingBoard”. This system dose not support setting “Canvas World Yaw” in some of the Drawing Boards.Currently, it works well only when “Canvas World Yaw”=0.  In current version,you can’t resize RT or “Canvas World Size” in runtime,or the simulation will be incorrect.But you can set Canvas Location(That’s enough).

Noteworthy points

 The snow trail simulation is not an efficient way.It need 3 RGBA16f Render Targets to record snow self-shadow,age,and keeps trails from afar with lower resolution.I wanted to add some special and useful features.In future version I will add an simple snow drawing board. (Added in Version 1.1)  Wheel trail brush would draw incorrectly if turning radius is less than wheel width in some time.  World Interact Volume sometimes doesn't work after compiling the code.You should use Brush Editing Mode in editor and edit the Brush(just move an vertex or something) to refresh it’s collision.

 I want to find a job.So,this plugin is for job hunting in a sense.

Quick Start

Step 0: Before Start

Download Demo Project(Optional)

All assets of this project is from “Starter Content” and “Third Person Template” You can download this project(Please install this plugin at first),to see how to create a interactive world with this plugin. LingFengSBH/InteractiveWorldDemo: Demo project of Unreal Engine plugin "InteractiveWorld" (github.com) This project mainly shows using RVT and VHF to create snow deformation in world. And there are a snow interact particle in this project.

Enable InteractiveWorld plugin

means the input is not completely suitable for your project.This plugin uses input of Third Person Template in UE5.0. You may find that when you open blueprint “BP_IW_Character” in “Plugins/InteractiveWorld/Content/Demo/Blueprints/BP_IW_Character. uasset” You can copy input blueprints in your character to this blueprint and delete old ones.

Step1: Add Function to Your Materials

Find Material Functions

Snow

Add “MF_SnowInteract” to your snow material

 Normal:Normal form height map,you can blend it with your mud normal as normal output  Height:Mud height,1,less than 1 means it is stepped on.

Water

 UV:UV of Render Target,if you want to sample Output RT of Drawing Board,you should use this UV,so that it will be mapped on the ground.  Mask:It is where Drawing Board simulate.  Normal:Normal of water wave.  HeightMap:Water deform height map

Foliage

 UV:UV of Render Target,if you want to sample Output RT of Drawing Board,you should use this UV,so that it will be mapped on the ground.  Mask:It is where Drawing Board simulate.  TurbulenceStrength:Intensity of turbulent. You can use it as WindIntensity of “SimpleGrassWind”.

Fluid(V1.3)

 UV: UV of Render Target,if you want to sample Output RT of Drawing Board, you should use this UV,so that it will be mapped on the ground.  Mask: It is where Drawing Board simulate.  Velocity Field: Velocity of fluid in current position. It is normalized velocity in render target, (1,0) means it can move from (0,0) to (1,0) on UV of RT in 1 second, if you want to get velocity in world, you should multiply it by Canvas world size.  New World Position: It is position after advection. For example, you

Foliage:Fluid (V1.3)

Step 2: Attach Interact Brush to Your Character

Find Interact Brushes

Brush Types Introduce

BP_Brush_Turbulent  Designed for Foliage&Water

 Draw a sphere falloff,the strength is depending on movement velocity. BP_Brush_Wheel  Designed for Mud&Snow  Draw a continuous tire tracks  X Axis should point to the wheel rotation axis BP_Brush_MudStep  Designed for Mud  It draws only when you call function “Draw Brush”.  You’d better use animation notification to call it’s “Draw Brush” function.  Find “BP_ThirdPersonCharacter” to see how blueprints runs  Find “ABP_Manny” and related animations to see how animation are set. BP_Brush_Shape  Designed for Snow  Draw a shape on snow.Like box,sphere.

Set Interact Area

Switch to Brush Editing Mode and edit volume brush

Examples:

Alt+O or open volumes visualization on panel

Bind Interact Volume

If you want to use Interact Volume.Enable “Use Interact Volume” Then add Interact Volumes into Array

Settings

World Drawing Board

Debug output RT on screen

Enable “Debug Output RT” and the debug UI will be added on screen in runtime

Common Settings

 Simulate World Size:Unit:cm.The world size that the Drawing Board will simulate.For example,when you set it as 1024,the Drawing Board canvas size will be 1204cm*1024cm in world.  Edge Falloff:A falloff in the edge of Drawing Board.For example,snow