refactor: re-organize the layout of asset directory and write some readme
This commit is contained in:
8
Assets/CKStateChunkFormat/README.md
Normal file
8
Assets/CKStateChunkFormat/README.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# CKStateChunk Format
|
||||||
|
|
||||||
|
This directory stores the format specification for the CKStateChunk format.
|
||||||
|
CKStateChunk is a core data structure used by Virtools engines.
|
||||||
|
So it is important to know the format of CKStateChunk.
|
||||||
|
|
||||||
|
These concluded formats basically are based on the decompile result.
|
||||||
|
For view them, just use a web browser to open `CKStateChunk.html` in this directory.
|
||||||
5
Assets/Decompile/README.md
Normal file
5
Assets/Decompile/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Decompile Assets
|
||||||
|
|
||||||
|
This directory stores some decompile result written at the early development stage of this project.
|
||||||
|
Basically they do not have some meanings but I want to keep them.
|
||||||
|
Maybe I can utilize them in some days.
|
||||||
@@ -10,4 +10,4 @@ Build complete Wavefront OBJ file from separated data for debugging libcmo21.
|
|||||||
* Vertex normal as `VertexNormal.bin` for example.
|
* Vertex normal as `VertexNormal.bin` for example.
|
||||||
* Vertex UV as `VertexUV.bin` for example.
|
* Vertex UV as `VertexUV.bin` for example.
|
||||||
* Face indices as `FaceIndices.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.
|
||||||
|
|||||||
Reference in New Issue
Block a user