Docs
parent
080e2f025e
commit
308d9e218c
|
@ -7,8 +7,9 @@ Minetest MTS Editor
|
||||||
Batch Mode
|
Batch Mode
|
||||||
----------
|
----------
|
||||||
|
|
||||||
You can convert MTS files and generate preview images for them from a script with this tool. You can also generate the block
|
You can convert MTS files and [other formats](https://gitlab.com/bztsrc/mtsedit/blob/master/docs/import.md), generate preview
|
||||||
images for the editor. [Read more](https://gitlab.com/bztsrc/mtsedit/blob/master/docs/batch.md).
|
images or blueprints for them from a script with this tool. You can also generate the block images for the editor.
|
||||||
|
[Read more](https://gitlab.com/bztsrc/mtsedit/blob/master/docs/batch.md).
|
||||||
|
|
||||||
Interactive Mode
|
Interactive Mode
|
||||||
----------------
|
----------------
|
||||||
|
|
|
@ -54,7 +54,8 @@ doesn't care, it can import both blueprint types.
|
||||||
|
|
||||||
### Conversion (or Remap Output)
|
### Conversion (or Remap Output)
|
||||||
|
|
||||||
You can convert different formats like Minecraft NBT Schematics and Goxel and Magicavoxel voxel images with this tool.
|
You can convert [different formats](https://gitlab.com/bztsrc/mtsedit/blob/master/docs/import.md) like Minecraft NBT Schematics
|
||||||
|
and Goxel and Magicavoxel voxel images with this tool.
|
||||||
```
|
```
|
||||||
./mtsedit from.schematic structure.mts
|
./mtsedit from.schematic structure.mts
|
||||||
```
|
```
|
||||||
|
|
|
@ -10,7 +10,7 @@ Blueprint PNG
|
||||||
MTSEdit is capable to save schematic blueprints to PNG files using the `-b` or `-B` flags. These can be imported too.
|
MTSEdit is capable to save schematic blueprints to PNG files using the `-b` or `-B` flags. These can be imported too.
|
||||||
|
|
||||||
Blueprints are simple 32 bit PNG images, which has layers from top to bottom, separated by 1 pixel vertically, starting at the
|
Blueprints are simple 32 bit PNG images, which has layers from top to bottom, separated by 1 pixel vertically, starting at the
|
||||||
2nd coloumn. In the first coloumn, there's a black pixel (full transparent black, 0xFF000000) for each layer start. This is used
|
2nd coloumn. In the first coloumn, there's a black pixel (full opaque black, 0xFF000000) for each layer start. This is used
|
||||||
to detect where the first layer starts and what the layer's height is. If that particular layer is the ground level, then that
|
to detect where the first layer starts and what the layer's height is. If that particular layer is the ground level, then that
|
||||||
pixel is full red (0xFF0000FF). That's all. Layer width ends at the first blue background pixel (0xFF3F0000, which must not be
|
pixel is full red (0xFF0000FF). That's all. Layer width ends at the first blue background pixel (0xFF3F0000, which must not be
|
||||||
used in node encodings) or at image width minus 1.
|
used in node encodings) or at image width minus 1.
|
||||||
|
@ -32,7 +32,7 @@ Limitations: rotation info are not imported properly, but works for basic nodes
|
||||||
Model 3D Files
|
Model 3D Files
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
This is an application independent, universal [Model 3D](https://bztsrc.github.io/model3d) format, capable of storing voxel images.
|
This is an application independent, universal [Model 3D](https://bztsrc.gitlab.io/model3d) format, capable of storing voxel images.
|
||||||
More than that, because it can store names and rotation info to voxel types, it is perfectly capable to reliably store schematic.
|
More than that, because it can store names and rotation info to voxel types, it is perfectly capable to reliably store schematic.
|
||||||
If voxel type names are not specified, then it fallbacks to closest color match. Typical extension is `.m3d`.
|
If voxel type names are not specified, then it fallbacks to closest color match. Typical extension is `.m3d`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue