Voxelizer by LMD

Turns 3D models into astonishing voxel builds.



Voxelizer (voxelizer)

Turns 3D models into astonishing voxel builds. Sort of the opposite of wesh and meshport. Another mighty world manipulation tool like worldedit. Blazing fast.


Note : Voxelizer needs to be added to the "trusted mods" if "mod security" is enabled. Depends on modlib and cmdlib. IntelliJ IDEA with EmmyLua plugin project. Code licensed under the GNU GPLv3 for now.
Written by Lars Mueller alias LMD or appguru(eu).

Media licenses (files in the media folder) :

Logo license (logo.png) : derived from character.png by Jordach (see above), same license (CC BY-SA 3.0), rendering & modifications by me (LMD)


Screenshot 1 Some Sams, using reduced palettes.

Screenshot 2 Another Sam, using the full colors.txt palette from Minetestmapper.

Screenshot 3 Same Sam, rear view.

Screenshot 4 2 mages & Ironmen (thanks to Jordach and Ginsu23 for the skins)

The used texture pack was MTUOTP by Aurailus and GamingAssociation39. Other textures seen are from Minimal Development Test or the Wool mod (wool textures by Cisoun).


All commands are executed with /vox <command> {params}. If in need for help, just do /help vox. You need the voxelizer priv to use any of the Voxelizer commands. Some commands require extra privs. Media - models, textures and nodemaps (color lookups) - is stored in <worldpath>/media. If you are unsure about which settings to use, either do some research or try it and see. Editing the placed models is recommended; Voxelizer might place a few blocks undesirably, which needs to be fixed by hand.


Per-player configuration commands. Configuration remains after shutdown (is persistent).

Supported file formats


All file formats supported by ImageIO on your Java setup. You can find them out using the following commands :

cd ~/.minetest/mods/voxelizer/production/voxelizer
java SupportedTextureFormats

On my system (Java 11), the output was :

The supported image file formats are : JPG, jpg, tiff, bmp, BMP, gif, GIF, WBMP, png, PNG, JPEG, tif, TIF, TIFF, wbmp, jpeg

Internally, the SIF (.sif, "Simple Image File") file format (just gave it some name) is used : 4 byte header : 2 times a 2 byte unsigned short, first is width, second is height Followed by uncompressed image data : array of 4 byte tuples, consisting of ARGB unsigned bytes, positions in array are calculated as x + y * width

Node Map

Any valid minetestmapper-colors.txt will be accepted by this mod. The format is :

Multiple lines like [(<content_id:hex>|<nodename>) <red> <green> <blue>][#<comment>]

3D Models

Only the .obj file format is (with certain restrictions) supported. It is recommended to export your models from Blender.

Restrictions :

All of the above will be ignored whenever possible.

Export your .obj files with Blender properly by ticking the right options, as seen here :

Ticked checkboxes in Blender's "Export OBJ" dialog

So summarized, the following boxes should be ticked :

Everything else should not be ticked.