-
Notifications
You must be signed in to change notification settings - Fork 5
Usage
###Usage
PyriteCli [ -x|--xsize X ] [ -y|--ysize Y ] [ -z|--zsize Z ] [ -u|--texturex U ] [ -v|--texturey V ] [ -s|--scaletexture S ] [ -m|--mtl M ] [ -t|--texture T ] [ -o|--obj ] [ --writemtl ] [ -e|--ebo ] [ -p|--openctm ] [ -c|--forcecubical ] [ -d|--debug ] OUT IN
####Positional
OUT Output folder
IN .Obj to process
####Optional
--writemtl Writes one MTL file per texture and updates OBJ to reference it. Use this if you want to be able to drag your OBJ into a 3d editor like Meshlab or Unity.
-c, --forcecubical X Y Z grid dimensions will be equal, and world space will be grown to fill a containing cube. All generated output will be cube shaped.
-d, --debug Reduce parallelism and write debug texture output.
-e, --ebo Generate EBO format files designed for use with CubeServer.
-h, --help Display this help document.
-m, --mtl Override the MTL field in output obj files. e.g. -z model.mtl
-o, --obj Generate OBJ files designed for use with CubeServer
-p, --openctm Generate OpenCtm files designed for use with CubeServer
-s, --scaletexture A number between 0 and 1 telling PyriteCli how to resize/scale the texture when using -t. Default 1.
-t, --texture Include a texture to partition during cube slicing. Will rewrite UV's in output files. Requires -tx -ty parameters.
-u, --texturex The number of times to subdivide texture in the X dimension. Default 4.
-v, --texturey The number of times to subdivide texture in the Y dimension. Default 4.
--version Displays the version of the current executable.
-x, --xsize The number of times to subdivide in the X dimension. Default 10.
-y, --ysize The number of times to subdivide in the Y dimension. Default 10.
-z, --zsize The number of times to subdivide in the Z dimension. Default 10.