diff --git a/README.md b/README.md index 0d352fa..a7465df 100644 --- a/README.md +++ b/README.md @@ -12,23 +12,30 @@ And you can create terrain from heightmap like in Magicavoxel Viewer directly ! - Go to the emplacement of the binary - Lanch the command +## Windows `./SchematicToVoxCore.exe --i [INPUT] --o [OUTPUT]` +## MacOS or Linux + +`./SchematicToVoxCore --i [INPUT] --o [OUTPUT]` + +If you have an error like 'Unable to load DLL 'libgdiplus', try this command : `brew install mono-libgdiplus` + [INPUT] refer to a .schematic file or .png file (mandatory) [OUTPUT] refer to the destination path (mandatory) ## Options ``` --h, --help show this message and exit --v, --verbose enable the verbose mode --w, --way=VALUE the way of schematic (0 or 1), default value is 0 --iminy, --ignore-min-y=VALUE ignore blocks below the specified layer --imaxy, --ignore-max-y=VALUE ignore blocks above the specified layer --e, --excavate delete all blocks which doesn't have at lease one face connected with air --s, --scale=VALUE increase the scale of each block --hm --heightmap=VALUE create voxels terrain from heightmap with the specified height --c, --color enable color when generating heightmap +--h, -help show this message and exit +--v, -verbose enable the verbose mode +--w, -way=VALUE the way of schematic (0 or 1), default value is 0 +--iminy, -ignore-min-y=VALUE ignore blocks below the specified layer +--imaxy, -ignore-max-y=VALUE ignore blocks above the specified layer +--e, -excavate delete all blocks which doesn't have at lease one face connected with air +--s, -scale=VALUE increase the scale of each block +--hm -heightmap=VALUE create voxels terrain from heightmap with the specified height +--c, -color enable color when generating heightmap ``` # Installation @@ -38,7 +45,7 @@ Then extract the content of zip file in the folder of your choice. # Examples -`./SchematicToVox.exe --i heighmap.png --o heightmap --hm 100` +`./SchematicToVox.exe --i heightmap.png --o heightmap --hm 100` ## Input file ![](img/heightmap.png)