nitro-engine/examples/other/fps_counter/assets.sh
2024-06-02 21:50:06 +01:00

16 lines
277 B
Bash

#!/bin/sh
NITRO_ENGINE=../../..
ASSETS=$NITRO_ENGINE/examples/assets
TOOLS=$NITRO_ENGINE/tools
OBJ2DL=$TOOLS/obj2dl/obj2dl.py
rm -rf data
mkdir -p data
python3 $OBJ2DL \
--input $ASSETS/teapot.obj \
--output data/teapot.bin \
--texture 256 256 \
--scale 0.1