Cuberite Forum
Schematic file visualiser - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Off Topic (https://forum.cuberite.org/forum-9.html)
+--- Forum: Off Topic Discussion (https://forum.cuberite.org/forum-10.html)
+--- Thread: Schematic file visualiser (/thread-1864.html)

Pages: 1 2 3 4


Schematic file visualiser - xoft - 04-05-2015

I was wondering, is there a program that could visualise .schematic files somehow? Best if it worked from command line - you feed it a .schematic file and it outputs a .png file with the preview. My google-fu is too weak to find anything related.

I'd like to use such a program with the Gallery plugin to provide an overview of the individual areas through the WebAdmin.


RE: Schematic file visualiser - NiLSPACE - 04-05-2015

Have you tried asking on the minecraft forum or reddit? Allot more people there probably know more if such a program exists.


RE: Schematic file visualiser - xoft - 04-05-2015

I don't have an account on either (and don't plan on having), so those are closed off to me.


RE: Schematic file visualiser - tigerw - 04-05-2015

I think MCEdit can do something like that.


RE: Schematic file visualiser - Seadragon91 - 04-05-2015

(04-05-2015, 07:05 AM)tigerw Wrote: I think MCEdit can do something like that.

I can confirm it . Over 'Open a level...' you can open schematic files.


RE: Schematic file visualiser - xoft - 04-05-2015

Of course it works that way, but I need something non-interactive that can be called from a script.


RE: Schematic file visualiser - xoft - 04-08-2015

So I started writing one myself: https://github.com/madmaxoft/MCSchematicToPng

So far I've got the basics working, it exports the PNGs using isometric view of the schematic, using solid colors for the blocks.

Example output (from the Nether gallery on the Gallery server):
[Image: bridgecirclecrossing.png]
[Image: midstaircase.png]


RE: Schematic file visualiser - tigerw - 04-08-2015

That's impressive.


RE: Schematic file visualiser - NiLSPACE - 04-08-2015

Wow that's awesomeBig Grin


RE: Schematic file visualiser - xoft - 04-08-2015

I need someone with linux to try and compile this project. It fails on my RasPi in ZLib, and I don't currently have any other linux available to try it out Sad

Code:
In file included from /home/pi/MCSchematicToPng/lib/zlib/zlib.h:34:0,
                 from /home/pi/MCSchematicToPng/lib/libpng/pngstruct.h:26,
                 from /home/pi/MCSchematicToPng/lib/libpng/pngpriv.h:714,
                 from /home/pi/MCSchematicToPng/lib/libpng/png.c:14:
/home/pi/MCSchematicToPng/lib/zlib/zlib.h:1760:51: error: unknown type name ‘va_list’
                                                   va_list va));
                                                   ^