summaryrefslogtreecommitdiff
path: root/filebrowser/list_to_cubes.sh
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-11-19 01:46:50 -0600
committerepoch <epoch@hacking.allowed.org>2017-11-19 01:46:50 -0600
commit1a1ee6d4e2bbbd5a4f91126afeb5c43ed9e6139f (patch)
tree67bdd47464828148c7359efdef6b976669fc0ce9 /filebrowser/list_to_cubes.sh
parent3d5b222bdaa0a45380f0996ea9b8773592304a03 (diff)
downloadhackvr-1a1ee6d4e2bbbd5a4f91126afeb5c43ed9e6139f.tar.gz
hackvr-1a1ee6d4e2bbbd5a4f91126afeb5c43ed9e6139f.zip
made list_to_cubes also put labels on the triangles it draws using a new script.
Diffstat (limited to 'filebrowser/list_to_cubes.sh')
-rwxr-xr-xfilebrowser/list_to_cubes.sh8
1 files 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