From 1a1ee6d4e2bbbd5a4f91126afeb5c43ed9e6139f Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 19 Nov 2017 01:46:50 -0600 Subject: made list_to_cubes also put labels on the triangles it draws using a new script. --- filebrowser/list_to_cubes.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/filebrowser/list_to_cubes.sh b/filebrowser/list_to_cubes.sh index 7f6e794..815c001 100755 --- a/filebrowser/list_to_cubes.sh +++ b/filebrowser/list_to_cubes.sh @@ -11,9 +11,13 @@ while read -r line;do if [ "_$line" != '_' ];then # ../tools/obj2hackvr.pl "$line" ../meshes/cube.obj - printf "%s addshape 3 1 0 0 0 1 0 0 0 0\n" "$line" + printf "%s addshape 3 8 0 0 0 8 0 0 0 0\n" "$line" + cd .. + printf "%s\n" "$line" | ./makelabel.sh "$line" 15 0 0 + cd filebrowser printf "%s move 0 %d 0 0 0 0 0 0 0\n" "$line" "$i" - i=$[i+2] + #somehow printf '%s\n' "$line" | ./testfont.sh and make its output belong to same group as $line.. sed? + i=$[i+10] else printf "epoch deleteallexcept epoch\n" i=0 -- cgit v1.2.3