From 30bfb25dceedcc0ad84b06194856edb28297ba83 Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 6 Feb 2019 04:52:59 -0600 Subject: added elevation choice and a default camera rotation for chess example --- share/hackvr/examples/chess/run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share/hackvr/examples/chess/run') diff --git a/share/hackvr/examples/chess/run b/share/hackvr/examples/chess/run index 4f0cdce..5a0941b 100755 --- a/share/hackvr/examples/chess/run +++ b/share/hackvr/examples/chess/run @@ -1,4 +1,5 @@ #!/bin/bash +export elevation=0 mknod p p -stdbuf -oL cat camera.pos <(./board.sh) <(cat p | ./gnuchess-to-hackvr.sh) | hackvr "$USER" | ./hackvr-to-gnuchess.sh | gnuchess -x > p +stdbuf -oL cat camera.pos <(./board.sh $elevation) <(cat p | ./gnuchess-to-hackvr.sh $elevation) | hackvr "$USER" | ./hackvr-to-gnuchess.sh | gnuchess -x > p rm p -- cgit v1.2.3