Import a 3D model as blocks

Theanine
New member
 
Posts: 1
Joined: Tue Jan 08, 2019 10:33

Import a 3D model as blocks

by Theanine » Tue Jan 08, 2019 12:06

Is there a way to convert a 3D model into blocks/voxels that can then be imported into Minetest?

For example, let's say I wanted to make a building shaped like an apple. So I convert a 3D model of an apple into blocks, and then import that into Minetest somehow, saving me the time from having to build it manually block by block.

Is this possible? And if so, with what tools?

Note that I don't need the reverse of this - I don't need to export the models out of Minetest. I just want to get models IN to it.
 

User avatar
GreenDimond
Member
 
Posts: 1272
Joined: Wed Oct 28, 2015 01:26
Location: SCP-3008
GitHub: GreenXenith
IRC: GreenDimond
In-game: GreenDimond

Re: Import a 3D model as blocks

by GreenDimond » Tue Jan 08, 2019 15:51

This is possible, but as far as I know, has not been created.
You could write a python script for Blender to read a model and export node data to a .we (WorldEdit) or .mst (Minetest Schematic) file based on the mesh data. I've never seen this done but it should be very possible.
Actually, you could probably do the same for something like an .obj file too (though I think it might be easier in Blender because it has an API to work with).
Y▹uTube | Mods | Patre●n | Twitter | Minetest Discord | GreenDimond#3232

Hey, you. You're finally awake.
You were trying to view their profile, right? Found the rest of their signature, same as us, and that guest over there.
 


Return to General Discussion



Who is online

Users browsing this forum: No registered users and 2 guests