mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
21 lines
384 B
Bash
21 lines
384 B
Bash
#!/bin/sh
|
|
|
|
NITRO_ENGINE=../../..
|
|
ASSETS=$NITRO_ENGINE/examples/assets
|
|
TOOLS=$NITRO_ENGINE/tools
|
|
OBJ2DL=$TOOLS/obj2dl/obj2dl.py
|
|
|
|
mkdir -p data
|
|
|
|
python3 $OBJ2DL \
|
|
--input $ASSETS/teapot.obj \
|
|
--output data/teapot.bin \
|
|
--texture 32 32 \
|
|
--scale 0.1
|
|
|
|
python3 $OBJ2DL \
|
|
--input $ASSETS/sphere.obj \
|
|
--output data/sphere.bin \
|
|
--texture 32 32 \
|
|
--scale 1.5
|