[Mod] Meshport (Minetest Mesh Exporter) [meshport]

Post Reply
random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

[Mod] Meshport (Minetest Mesh Exporter) [meshport]

by random_geek » Post

Image

Meshport is a mod which allows easy exporting of scenes from Minetest to .obj files, complete with materials and textures. These models can be imported directly into Blender or another 3D program for rendering and animation. Meshport supports many common node types and features, so manual modeling is kept to a minimum.

This mod is still in the beta phase; certain texturing features and node drawtypes are not yet supported.

Details about usage, supported features, etc. can be found at the GitHub repository.

Changelog

0.1.0 Initial release.
0.1.1 Fixed a wrongly named variable.
0.2.0 Added support for a number of drawtypes, improved area selection.

Dependencies: None!

License: LGPL v3.0 for code, CC BY for textures.

GitHub: https://github.com/random-geek/meshport

ContentDB: https://content.minetest.net/packages/r ... /meshport/

Download ZIP: https://github.com/random-geek/meshport ... master.zip
Last edited by random_geek on Wed Jul 14, 2021 22:15, edited 1 time in total.

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] Meshport (Minetest Mesh Exporter) [meshport]

by Nathan.S » Post

Nice, I usually just build everything in Blender when I want to recreate something from Minetest, this could save me a considerable amount of time.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
MCL
Member
Posts: 654
Joined: Mon Aug 20, 2018 00:44
GitHub: MCLx86
IRC: migdyn
In-game: singleplayer
Contact:

Re: [Mod] Meshport (Minetest Mesh Exporter) [meshport]

by MCL » Post

Don't fences use the fencelike drawtype? Your drawtype list doesn't have fencelike in it
2014-02-14 - 2024-02-14 TEN YEARS OF MCL

User avatar
v-rob
Developer
Posts: 970
Joined: Thu Mar 24, 2016 03:19
GitHub: v-rob
IRC: v-rob
Location: Right behind you.

Re: [Mod] Meshport (Minetest Mesh Exporter) [meshport]

by v-rob » Post

migdyn wrote:Don't fences use the fencelike drawtype? Your drawtype list doesn't have fencelike in it
Fences use connected nodeboxes. The fencelike drawtype is much more primitive and really shouldn't be used anymore.
Core Developer | My Best Mods: Bridger - Slats - Stained Glass

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [Mod] Meshport (Minetest Mesh Exporter) [meshport]

by ShadMOrdre » Post

That this even reads nodeboxes is worthy.

How optimized are the meshes that are created? I see you mention about using the highest priority face, do you also optimize vectors and and normals?

random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Re: [Mod] Meshport (Minetest Mesh Exporter) [meshport]

by random_geek » Post

ShadMOrdre wrote:How optimized are the meshes that are created? I see you mention about using the highest priority face, do you also optimize vectors and and normals?
The meshes are not optimized much, if you mean reduction of geometry. Cubic nodes share corner vertices and unnecessary interior faces are ignored; however, for the sake of simplicity, adjacent co-planar faces are not combined in any way. Beyond cubic nodes, everything is basically "as-is".

Hope this answers your question.

random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Re: [Mod] Meshport (Minetest Mesh Exporter) [meshport]

by random_geek » Post

Update! I've released version 0.2.0, adding support for liquid, flowing liquid, plantlike, rooted plantlike, and framed glasslike nodes. Area selection is now easier, too, with an additional tool for setting corner positions and markers to visualize the selected area. More details can be found on the GitHub releases page.

Yona
Member
Posts: 59
Joined: Sun Oct 01, 2023 21:37

Re: [Mod] Meshport (Minetest Mesh Exporter) [meshport]

by Yona » Post

Works really well thank you!

Is there going to be a option to import obj?

Screenshot from 2023-11-22 16-48-10.png
Screenshot from 2023-11-22 16-48-10.png (868.75 KiB) Viewed 1047 times
Screenshot from 2023-11-23 09-20-28.png
Screenshot from 2023-11-23 09-20-28.png (821.84 KiB) Viewed 1047 times

random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Re: [Mod] Meshport (Minetest Mesh Exporter) [meshport]

by random_geek » Post

Yona wrote:
Thu Nov 23, 2023 15:21
Works really well thank you!

Is there going to be a option to import obj?
Thanks! I won't be adding an option to import an OBJ back into Minetest as too much information is lost in conversion, but you can use another mod like WorldEdit to export and re-import the same region.

Yona
Member
Posts: 59
Joined: Sun Oct 01, 2023 21:37

Re: [Mod] Meshport (Minetest Mesh Exporter) [meshport]

by Yona » Post

random_geek wrote:
Thu Nov 23, 2023 16:44
Yona wrote:
Thu Nov 23, 2023 15:21
Works really well thank you!

Is there going to be a option to import obj?
Thanks! I won't be adding an option to import an OBJ back into Minetest as too much information is lost in conversion, but you can use another mod like WorldEdit to export and re-import the same region.
Ok was just curious i use worldedit but no obj import/export options only .we, versus just using lua scripts to load .obj. Also .obj to .vox to load into mtseditor then export .mts into world is the other option.

random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Re: [Mod] Meshport (Minetest Mesh Exporter) [meshport]

by random_geek » Post

Yona wrote:
Thu Nov 23, 2023 19:07
Ok was just curious i use worldedit but no obj import/export options only .we, versus just using lua scripts to load .obj. Also .obj to .vox to load into mtseditor then export .mts into world is the other option.
Not sure I understand. I haven't used mtsedit, but from the readme it appears you can import .mts files (exported from the mtsedit mod) as well as .we files (exported from Worldedit) into mtsedit. Would one of those options work?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 23 guests