1
0

refactor: re-organize the layout of asset directory and write some readme

This commit is contained in:
2026-01-24 22:38:32 +08:00
parent 440bc63432
commit 940ffeecf2
8 changed files with 14 additions and 1 deletions

View File

@@ -10,4 +10,4 @@ Build complete Wavefront OBJ file from separated data for debugging libcmo21.
* Vertex normal as `VertexNormal.bin` for example.
* Vertex UV as `VertexUV.bin` for example.
* Face indices as `FaceIndices.bin` for example.
- Execute `uv run main.py -p VertexPosition.bin -n VertexNormal.bin -u VertexUV.bin -i FaceIndices.bin -o mesh.obj -m mesh.mtl` for example. It will utilize previous saved file to generate a Wavefront OBJ file `mesh.obj` and corresponding material file `mesh.mtl`. For the usage of these switches, please refer to the source code.
- Execute `uv run main.py -p VertexPosition.bin -n VertexNormal.bin -u VertexUV.bin -i FaceIndices.bin -o mesh.obj -m mesh.mtl` for example. It will utilize previous saved file to generate a Wavefront OBJ file `mesh.obj` and corresponding material file `mesh.mtl`. For the usage of these switches, please pass `--help` to the program.