What about a program that takes a 3d model, runs through all those points and polygons and draws a representation of the model in Minecraft.
3D Models in Minecraft
Update - Ive pushed the boundaries of this program much further and rendered Manhattan Island in Minecraft.
The concept of making this work is pretty simple.
3d models can be saved as a particular type of file, an obj, which is an uncompressed text representation of the model, it describes all the points (aka vertices) as x, y, z coordinates and faces, 3 or more points which when connected create a block or polygon.
My program reads these obj files and then creates line between the points of the faces, effectively creating a wire frame representation of the model in Minecraft. Simple eh!
The models need to be scaled appropriately to be able to fit in the minecraft world, the scales depends on the detail within the model .
At the moment the program only uses the vertices and faces within the obj files, but it certainly could be extended to create filled polygons rather than wireframe, cope with curves and potentially to use different surfaces and textures.
Update - I have created version 2 of this program, which draws filled polygons and uses the materials within obj files to pick an appropriate block, allowing the model to now be in 'colour'.
|A Raspberry Pi rendered in Minecraft|
Download and run
You can download the code direct from git-hub, so run minecraft, open/create a world and follow the instructions:
I've included the code here for reference, but if you want to get it working I suggest you download the repository from github using the instructions above as you will also need other files (e.g. obj's) in to get the code working.
Credits and useful links
I got a number of obj files from this website - http://people.sc.fsu.edu/~jburkardt/data/obj/obj.html
I got the basic code to parse an obj file here - http://programminglinuxgames.blogspot.co.uk/2010/09/parsing-wavefront-obj-file-format-using.html
I used this C code as the basis for my python function to draw line in 3d - http://www.luberth.com/plotter/line3d.c.txt.html
Short link to this post - http://bit.ly/14mzPXY