How-To In Unreal

How to configure Unreal

Unreal Plugins

First copy the Smode plugins in your project "plugins" folder or in the engine "plugins" folder
You need to enable the plugins Smode, Spout and Ndisplay

Unreal Projects Settings

1) Set the Custom timestep to SmodeCustimTimeStep

2) Set the Game Instance Class to SmodeGameInstace

3) Set enable alpha channel support in postprossess to Linear Color Space only or Allow through Tonemapper depending on what you will do in Composure

Plugins settings

1) Select the Ip and port where Smode is runnig ( 127.0.0.1 when in the same machine)

2) Activate Ndisplay in Ndisplay: Main --> Enable: True

Integrate your Map

Option 1 ( the preset ):

1) Open the levels panel
2) Drag and drop the “SmodeSetup_Map” from the plugin “Smode Content/utilities” to the levels

3) Select all actor from this level

4) Move them into the persistent level ( say yes to the prompt )

5) Delete the “SmodeSetup_Map” from your levels ( say yes to the prompt )

Option 2( the custom ):

1) Setup your composure like you want with a back and front layer elements ( name are important)
Select “Back_render_target” , “Front_render_target” as output of your layer elements, and you can put a second output as viewport to gain performance

2) Drag and drop the “BP_SmodeRig” from “Smode Content”
3) Connect the CineCamera and composure in the rig

NDisplay

NDisplay Launcher will allow you to have better performance than in editor mode and also have multiple node on different GPU
1) Launch NDisplay Listener and NDdisplay Launcher located in your Unreal Install Engine/Binaries/DotNET
2) In the Launcher you need to had your project

2a)In the first window you need to select UE4Editor.exe located in Engine/Binaries/Win64
2b) In the second window you will select your .uproject
3) Then you add your config file for the cluster.
Example config file is in Plugins/SmodeUnrealPlugin/Content/NdisplayConfig/
  • Beware of the Ip of the machine
  • Beware of the GPU configuration
  • Gpu number start at 0 unlike Smode where it’s 1
  • it’s not useful to have 2 unreal instance if they are on the same gpu

Video Tutorial

Now you can check How-To Unreal In Smode for the next step

See Also: