Today I am publishing the alpha version of my CC-Drawer program. This program is capable of building every picture with (currently) a maximum size of 250x250px. Sounds small. But it isn't. Features:
- Convert any picture with a maximum size of 250x250 pixel into a minecraft pixel-art picture (every common file format supported)
- Full color support
- Alpha channel
- Advanced pathfinding
- Soon multiple turtles will be supported
- Fast convert times and pathfinding
- Multithreading support soon
Spoiler
--Coming soon: Indepth explenation of the algorithms used | Tutorial how to use this --
DOWNLOAD: http://newcat.bplaced.net/CCDC.zip Note that this is still in an early version, so please post any bugs you find in this thread.
INSTALLATION:
Converter:
Unpack the zip-file and run the setup file. It's as simple as that.
Turtle Program:
Copy the file "ccdrawer" contained in the zip-file into the folder of your turtle.
The folder is located in {\path\to\your\minecraft\}saves\{worldname}\computer\{computerID}
You can get the computerID of the turtle by going into the lua console and then typing in "os.getComputerID()"
HOW TO USE THE PROGRAM:
Converting a picture:
- Open the program
- Load a picture by clicking the "Open Image" button (the maximum size of the picture is 250x250)
- If another window overlaps the converter window and the picture disappears then press the little "R" button
- Click the "Convert" button
- Select the alpha color
- If everything is fine then click the "Save CCD Image" button and save the image into the turtle folder where your CCD program is
- Move the turtle to one block above ground
- The starting point of the turtle will be the upper left corner of the picture facing up like this (T = turtle, P = Picture, | = where the turtle is facing)
T P P P P
P P P P P
P P P P P
- Place wool in the turtle's inventory like this:
- Run "ccdrawer"
- Type in the filename of your picture
- When the turtle stops moving and hasn't finished building yet then it is probably out of wool. Look at the console, it says which wool type it is missing
- Have fun! (most important /> )
TODO:
- Add support for multiple turtles
- Remove the "Open CC Image" button since it just makes no sense
- Improve color recognition in the convert process
Spoiler
Edited by newcat, 07 September 2014 - 02:39 PM.