Page 1 of 1

Is there an exporter for Minetest -> Blender or other 3D programs?

PostPosted: Wed Feb 19, 2014 20:29
by cairmen
Hiya, and apologies if this has been asked before.

Is there an exporter available (like jmc2obj for Minecraft) to export Minetest worlds to a 3D format for rendering in programs like Blender, Maya, or other 3D packages?

I've seen it mentioned here - http://irc.minetest.ru/minetest/2013-09-24#i_3335731 - that there might be one out there, but a fairly extensive Google and forum search failed to turn it up.

If not, obviously this is a feature I think would be really good for Minetest!

PostPosted: Wed Feb 19, 2014 20:58
by DeepGaze
try finding a file converter for .we(minetest world edit) to .schematic(minecraft world edit) this would be the long way round but it is a way or [url=file converter for .we(minetest world edit) to .schematic(minecraft world edit)]let me[/url]

PostPosted: Wed Feb 19, 2014 21:19
by cairmen
Hmm, interesting, thanks! Would that then be accessible by the Minecraft exporters without needing to go into Minecraft?

PostPosted: Thu Feb 20, 2014 00:17
by DeepGaze
If I am honest I have no idea. I have never fiddled with the heathen called minecraft

PostPosted: Thu Feb 20, 2014 01:27
by Excalibur Zero
I think Jordach mentioned something about an exporter from Minetest to Blender in his Blender Renders topic. (https://forum.minetest.net/viewtopic.php?id=6114&p=8)

He said:

Jordach wrote:Experimental Minetest World Loader (Render)
This is rather experimental, don't expect too much yet; I've got mod support as well as rebuilding models.

(This honestly sucks.)

Added in my own model infront of my house; might take some time to download; it is 2K resolution.

http://mg.viewskew.com/mgoblin_media/media_entries/489/Jordach.png

PostPosted: Thu Feb 20, 2014 04:31
by hoodedice
Jordach was using MC to do that. Traitor.

PostPosted: Thu Feb 20, 2014 11:27
by cairmen
I've had a thorough Google, and there doesn't seem to be a .we to .schematic converter out there. Are the two file formats reasonably well-documented? If so, a converter probably wouldn't be the hardest thing ever.

Looks like Jordach never released his Mineblend modification for Minetest? Obviously, that's exactly the kind of thing I'm looking for.

I'm guessing the Minetest map format is documented somewhere? It might be simplest just to look at modifying jmc2obj to read Minetest maps directly...

PostPosted: Thu Feb 20, 2014 13:04
by twoelk
In your Mintest/doc/ folder you will find this file:
mapformat.txt file (at github) that explains how maps are stored in an sqlite database format.

But I guess the difficulty is not really to read the geometry of the world such as there is a node here or there, the problem is rather the non monolithic structure of Minetest. In Minecraft we have a fixed number of node kinds and these are mapped to a single file that includes all textures. You may define a different texture file but it is always this one file and this fixed number of nodes.

Minetest does not use this approach. In fact its very philosophy is to be open to as much content adding by mods as possible. The downside of this is there is no central list of all possible nodes and there may very well never be. The number of node-types Minetest can register on startup has been raised some months ago and servers such as VanessaE's Creative or Landrush may be well beyond 7000 registered node-types by now if I remember correctly.

If you look at the mods listed for the public servers you may note that almost every one of them uses a different set of mods. In practice this means you even cannot just swap the worlds between servers, the maps would have lots of unknown nodes. That is why some servers that offer downloads of their maps also offer their mod collections they use as Minetest-games or Mod-Pack or at least make an extensive list of the mods they use. Not to forget some servers use mods unique to their server and do not offer them for download on public forums.

VanessaE maintains a pretty long list of colorsassigned to different node-types for use with the mapper. It may well be the best external list there is of node-types at the moment.

An export program would have to list all the node-types it finds in a Minetest map and then search your Minetest installation for all the textures provided by the used mods, modpacks and texturepacks.

To be honest, I am not really sure how Jordach did it but I don't think he actually opened a Minetest world with Mineblend. He must have used some detour to get there.