Minetest B3Dexport - custom blender to .b3d exporter

Locked
sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Minetest B3Dexport - custom blender to .b3d exporter

by sofar » Post

There's been a lot of confusion about how to export blender models for minetest in the past, and many people have struggled to find the right export plugin to make .b3d files that work in minetest. For this reason I've modified a version of B3Dexport.py and we've stashed it in the minetest github.com organization:

https://github.com/minetest/B3Dexport

This version is different than others, in that

(1) it's an older version than the other that you can find on github.com, most importantly because the newer version does not produce coordinates that minetest/irrlicht can properly use.
(2) it contains a modified exporter that (by default) omits inclusion of linked texture files.
(3) it's default export options are set to work correctly with minetest out-of-the-box.

We aim to maintain this exporter code such that it produces working .b3d files with the latest blender and minetest versions. If there are bugs, please submit them to the github issue tracker.

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Minetest B3Dexport - custom blender to .b3d exporter

by TumeniNodes » Post

This is awesome, thank you
A Wonderful World

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: Minetest B3Dexport - custom blender to .b3d exporter

by MineYoshi » Post

+1000

Very great work!
Have a nice day! :D

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: Minetest B3Dexport - custom blender to .b3d exporter

by stu » Post

I have been using the version from here https://sourceforge.net/p/supertuxkart/ ... lender_25/ which seems to be what this was based on and I would like to know what you mean by this
not kept up to date with more recent versions - these are known to break the models' orientation and are thus not usable.
The current version seems to work pretty much the same as this other than it produces a slightly smaller binary, I see no visible difference in-game.
I would possibly use this if you did keep it up to date as the texture unlink option is undeniably handy when making models for minetest.

Unfortunately, it seems that there is a problem with the b3d format when it comes to bone attachment, attached objects appear to switch sides and direction when the model is animated. See my latest findings on #2813

I currently have no idea what causes this but I guess it has to be either Irrlicht, minetest, the exporter(s) or the model itself. I have tested several revisions of the exporter and they all seem to exhibit the same behaviour.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: Minetest B3Dexport - custom blender to .b3d exporter

by azekill_DIABLO » Post

How to run this script? :)i'm a noob
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Minetest B3Dexport - custom blender to .b3d exporter

by sofar » Post

azekill_DIABLO wrote:How to run this script? :)i'm a noob
You have to install it in blender. If you don't know how, you can probably find a video or howto online by googling for e.g. "blender install plugin".

amadin
Member
Posts: 549
Joined: Tue Jun 16, 2015 16:23

Re: Minetest B3Dexport - custom blender to .b3d exporter

by amadin » Post

How to convert .b3d file to blender format?

jbb
Member
Posts: 78
Joined: Tue Dec 09, 2014 17:16
GitHub: JBBgameich
IRC: JBB
In-game: JBB
Contact:

Re: Minetest B3Dexport - custom blender to .b3d exporter

by jbb » Post

If you mean how to import B3D files to blender, from where you can export as any filetype, have a look at this: https://www.blender.org/forum/viewtopic.php?t=26311
Looks good, but I haven't tested my self.
Minetest runs better on Linux. So I'm using Linux.

Locked

Who is online

Users browsing this forum: No registered users and 6 guests