MCEdit Filters‎ > ‎

PNG to CUBE

posted Mar 8, 2013, 3:37 AM by Adrian Brightmoore   [ updated Jun 9, 2013, 5:33 PM ]
This MCEdit filter is for taking Minecraft textures and creating cubes in MCEdit with them. It also creates height maps from PNG files based on the intensity of each pixel.

You can:
  1. create a hollow cube with the same texture all around
  2. flip vertically one pair of sides, for brickwork mostly
  3. render only the top, or only the bottom (for Grass Block, as an example)
Large textured blocks in MCEdit


Instructions
(1) Mark a selection box in the world in an empty area the size of your texture file. 16x16x16 is default
(2) Open PNG to BLOCKS filter
(3) Leave checkboxes as default 
(4) Run filter 
(5) Path to wherever your v1.5 texture files are and select one. The Filter will run, building a cube.
(6) CTRL+S to save 
(7) copy paste copy paste your new block.

The colour mapping is from Sethbling's Player Statue filter.


MCEdit PNG to CUBE filter tutorial


Importing Google Maps



Enhancements to be Done:
  1. add more colours to the block palette.
  2. add a file open dialogue [DONE]
  3. provide all the blocks as individual schematics [PARTIAL - Some block schematics are available in the file TPDefaultSchematics16W16H16L.zip below]

As a bonus feature, in version 4 you can also render a height map from the colour intensity in a PNG image:

Mojang logo in relief

ċ
PNGToCUBE_v3.zip
(2k)
Adrian Brightmoore,
Mar 8, 2013, 11:48 AM
ċ
Adrian Brightmoore,
Mar 18, 2013, 2:24 AM
ċ
Adrian Brightmoore,
Apr 4, 2013, 2:44 AM
ċ
Adrian Brightmoore,
Jun 24, 2013, 1:54 AM
ċ
Adrian Brightmoore,
Oct 1, 2017, 8:36 PM
ċ
TPDefaultSchematics16W16H16L.zip
(14k)
Adrian Brightmoore,
Mar 8, 2013, 4:49 AM
Comments