1. Accueil
  2. Docs
  3. SkyReal Documentation
  4. Powerwall Configuration

Powerwall Configuration

What is a powerwall ?

A powerwall is a large, ultra-high-resolution display which displays stereoscopic 3D images. Coupled with a tracking system, it provide an immersive virtual reality experience.

Requirements

ART DTrack

DTrack is the software provided with ART tracking captors. It will record and transmit the data of your tracked devices.

VRPN

VRPN is an interface which can recieve data from a software and expose it to another.

NDisplay Launcher

Ndisplay is an UE4 plugin which allows you to start your project on several PC arranged in cluster. It is also working for a cluster of only one device.

The NDisplay documentation can be found here.

To be able to run Skyreal in Powerwall mode, it must be started with the NDisplay Launcher.

It can be found in the UE4 directory :

C:\Program Files\Epic Games\UE_4.20\Engine\Binaries\DotNET\nDisplayLauncher.exe

Interaction Device

To be able to interact in Skyreal set in Powerwall mode, interaction devices are needed. They must be trackable by the ART captors and preset buttons to do actions in Skyreal (navigate, use commands …).

We recommend you to use the VenomX device which has enough buttons and on which reflective balls can be added to make the device trackable.

Configuration

DTrack Configuration

Room Calibration

Go to Calibration, then Room.

Hit Calibrate button.

Bodies Calibration

Go to Settings, then Body administration.

Increase the number of body to the needed number.

Go to Calibration, then Body.

Hit Calibrate button.

You can try to recognize your body (Target Library), or calibrate it directly (Custom).

You can then rename your bodies in the Body Administration window.

The devices expected by Skyreal are 1 Head Tracker, 1 Right Hand Tracker, and 1 optional Left Hand Tracker. These trackers need to be ordered like this (Head first, then Right Hand and then Left Hand).

Output

Go to Settings, then Output.

Define the UDP port to 5000.

VRPN Configuration

Config file

In the config file “vrpn.cfg”, the used port need to be defined, by default it is 5000.

In VRPN, the VenomX is managed as a keyboard. And so, if a VenomX is used, a vrpn_Keyboard must be added too.

# start vrpn test for DTrack
vrpn_Tracker_DTrack DTrack  5000
vrpn_Keyboard Keyboard

The StartServer.bat (located in the VRPN directory) launchs the VRPN server.

The StartTest.bat (located in the VRPN directory) allows you to see which data are received by the server.

NDisplay Configuration File

The « configPowerwall.cfg » contains the configuration of the VR space and devices for NDisplay.

Not all settings must be redefined for the standard use of Skyreal but for a more precise description of this file please refer to the NDisplay documenation.

Cluster_nodes

The IP address of the cluster_node must be redefined. Use the address of the test PC.

[cluster_node] id=node_1 addr=127.0.0.1 screen=screen_1 viewport=vp_1080 port_cs=41001 port_ss=41002 master=true sound=true

Screens

The size of the screen must be redefined.

[screen] id=screen_1 loc="X=0,Y=0,Z=0" rot="P=0,Y=0,R=0" size="X=1.435,Y=0.85" parent=display_1

Inputs

The Z component of the location may need to be redefined.

In this example, Z=-0,043 because the room calibration tool used was 0,043 m high.

[input] id=SkrTrackers  type=tracker addr=DTrack@127.0.0.1 loc="X=0,Y=0,Z=-0.043" rot="P=0,Y=0,R=0" front=Y right=X up=Z

Scene_nodes

You need to redefine the locations of the nodes.

  • The Z component of cave_origin
  • All the components of display_1 (center of the screen) : X is the distance between the screen and the origin, Z is the distance between the floor and the center of the screen
[scene_node] id=cave_origin  loc="X=0,Y=0,Z=-0.043"      rot="P=0,Y=0,R=0"
[scene_node] id=display_1    loc="X=2.51,Y=0,Z=1.485"    rot="P=0,Y=0,R=0"

NDisplay Launcher

Start the NDisplay Launcher.

Add and select the project (1) and add and select the config file (2).

VenomX

Input Configuration

The VenomX inputs can be mapped with a dedicated software which can be downloaded here.

To reassign inputs, go to the PC tab and click on the button to remap. Hit then the new key. When 2 VenomX are used, one of them must be disconnected to configure the other.

Remaping in the NDisplay config file

In VRPN, the VenomX is managed as a keyboard. Each key pressed will send a « pressed » event with a specific scane code corresponding to that key.

To let users be able to freely choose which key they want to use, Skyreal use standard scan codes to map the possible actions :

255 Right MenuButton
254 Right ActionButton
253 Right MoveForwardButton
252 Right MoveBackwardButton
251 Right StrafeRightButton
250 Right StrafeLeftButton
249 Right IncreaseSpeedButton
248 Right DecreaseSpeedButton

247 Left MenuButton
246 Left ActionButton
245 Left MoveForwardButton
244 Left MoveBackwardButton
243 Left StrafeRightButton
242 Left StrafeLeftButton
241 Left IncreaseSpeedButton
240 Left DecreaseSpeedButton

Users have to remap their used scan codes to the standard codes of Skyreal.

To know what is the scan code corresponding to the key pressed we recommend to use the script StartTest.bat in the VRPN directory. This script will display the scan codes of the pressed keys.

When the codes are known, they must be remaped in the NDisplay config file :

[input] id=SkrDevice type=buttons addr=Keyboard0@127.0.0.1 remap="255:30,254:44,253:18,252:19,251:16,250:31,249:32,248:33,247:21,246:22,245:23,244:24,243:35,242:36,241:37,240:38"

Troubleshooting

You setup should now be correct

  • Start the Dtrack record
  • Start the VRPN server
  • Start the NDisplay launcher
  • Hit the start listeners button
  • Hit the run button

Skyreal should start on your powerwall and your trackers should be tracked

Cet article vous a-t-il été utile ? Oui Non

Comment pouvons-nous aider ?