lingmodeler
↓ 0 downloadsLingModeler: box modeling with quads and tris, rigging + weight painting, 2D vector illustration and animation, procedural textures and game assets; .lmesh / .ling native formats, OBJ, glTF and SVG import / export
Keywords 3d, modeling, vector, svg, gltf, obj, rigging, animation, textures, ling
lingfu install lingmodelerCode / Files (67)
tools/lingos_qemu_test_rpi.sh
#!/usr/bin/env bash
# Boot the Raspberry Pi LingOS image (QEMU raspi3b: there is no Pi 5 machine model yet) with LingModeler bundled,
# open it from the desktop menu over serial (Esc, Down x3, Enter) and screendump. Run under WSL (Arch distro).
# wsl -d Arch bash tools/lingos_qemu_test_rpi.sh
HERE="$(cd "$(dirname "$0")/.." && pwd)"
KIMG="$HERE/../LingOS/dist/rpi/kernel8.img"
OUT="$HERE/screenshots/lingos-rpi"; mkdir -p "$OUT"
SP=/tmp/lmrpi; BOOT=${BOOT:-35}; WAIT=${WAIT:-60}
rm -rf $SP; mkdir -p $SP; mkfifo $SP/ser.in $SP/ser.out
cat $SP/ser.out > $SP/serial.log &
exec 3<>$SP/ser.in
( sleep $BOOT; echo "screendump $SP/desktop.ppm"; sleep 1
# dock navigation (menu closed): Left from "nothing selected" wraps to the last tile, LingModeler "M"
printf '\033[D' >&3; sleep 2
echo "screendump $SP/menu.ppm"; sleep 1
printf '\r' >&3; sleep $WAIT; echo "screendump $SP/app.ppm"; sleep 1
echo quit ) \
| timeout $((BOOT + WAIT + 40)) qemu-system-aarch64 -M raspi3b -kernel "$KIMG" \
-chardev pipe,id=s0,path=$SP/ser -serial chardev:s0 -monitor stdio -vnc 127.0.0.1:5 >/dev/null 2>&1
for f in desktop menu app; do [ -f $SP/$f.ppm ] && ffmpeg -y -loglevel error -i $SP/$f.ppm $OUT/$f.png && echo "$f ok"; done
tr -d '\000\r' < $SP/serial.log | grep -a -E "lingmodeler|PANIC|panic|starting" | tail -10