Download

nDisplay application not working

Hello there,
I managed to package the nDisplay template project with a custom config file.
The plan is to start the application on my work pc (using 1 of the 2 displays) and a second one, that is connected to a TV.

Using the nDisplayLauncher the project does deploy to the secondary PC. The listeners both start.

When selecting “Run”, one display on the work pc and the TV on the second PC turn black. After a couple seconds you can see the app running behind the Launcher window on the work PC, then closing. The TV stays black.

“Kill” does stop the app and “Stop listeners” does work, too.
The custom config file is linked in editor, too and does seem to have the correct effect.

Question: How do I get the app to run on both displays (and not close)?

config file:
[SPOILER]


[cluster_node] id=node_1 addr=192.168.11.86 screen=screen_1 viewport=vp_1080 port_cs=41001 port_ss=41002 master=true sound=true
[cluster_node] id=node_2 addr=192.168.11.56 screen=screen_2 viewport=vp_1080


[screen] id=screen_1 loc="X=0,Y=0,Z=0" rot="P=0,Y=0,R=0" size="X=0.5,Y=0.3" parent=display_1
[screen] id=screen_2 loc="X=0,Y=0,Z=0" rot="P=0,Y=0,R=0" size="X=0.5,Y=0.3" parent=display_2


[viewport] id=vp_1080 x=0 y=0 width=1920 height=1080 flip_h=False flip_v=False


[camera] id=camera_static loc="X=0,Y=0,Z=0" parent=socket_cam


[scene_node] id=cave_origin  loc="X=0,Y=0,Z=0"       rot="P=0,Y=0,R=0"
[scene_node] id=eye_level    loc="X=0,Y=0,Z=1.7"     rot="P=0,Y=0,R=0" parent=cave_origin
[scene_node] id=angle_1      loc="X=1,Y=0,Z=0"       rot="P=0,Y=0,R=0" parent=eye_level
[scene_node] id=display_1    loc="X=0,Y=-0.255,Z=0"  rot="P=0,Y=0,R=0" parent=angle_1
[scene_node] id=display_2    loc="X=0,Y=0.255,Z=0"   rot="P=0,Y=0,R=0" parent=angle_1
[scene_node] id=socket_cam   loc="X=0,Y=0,Z=0"       rot="P=0,Y=0,R=0" parent=eye_level
[scene_node] id=wand         loc="X=0,Y=0,Z=1"


[input] id=MAxis     type=analog  addr=Mouse0@127.0.0.1
[input] id=MButtons  type=buttons addr=Mouse0@127.0.0.1
[input] id=KButtons  type=buttons addr=Keyboard0@127.0.0.1 


[stereo] eye_swap=True eye_dist=0.064

[general] swap_sync_policy=1

[custom]

[/SPOILER]

Any help is appreciated, thanks.

You probably have done this already, but if not, search for “error” then “warning” in the log files on the second pc. Also try launching the app standalone on both PCs.

Two possible Problems either you have spaces in your paths for the config file or you need to move your x value of your camera position (or your screen). But Camera position and Screen position should not overlap