Jump to content

3D Blender models to Mine-imator 2.0+ converter


Recommended Posts

Link to download Installer: https://mega.nz/file/gRdgwYLY#4Q0ywCkUA5YomfPAvy23Y8p0ey-QZbC2C9wfzdwvRLk

 

I would like to start with the fact that a 3D model converter to Mine-imator already existed on the forum, such meshcache files.

Manicminermemer write first version of the converter on C. If you are interested in how this works, then it is better to read about it from him. But his method had a number of drawbacks, one of which was the complete lack of UI.

Since the old code was written in C, and had a problem with setting the normals (they were invested due to errors in one of the axes), it was decided to completely rewrite the code in C#, as a separate library. I also wrote a UI in WPF to significantly speed up the process of exporting multiple models. 
Among the new features, I include:

  • Ability to load multiple models/textures at once
  • Navigation between models and textures using the search engine (when filtering textures, only the filtered options will be displayed in the texture selection window for the model)
  • The ability to install not only diffuse textures on the model, but also normals and materials.
  • The ability to export directly to a project file, or to a miobject (Exporting to a folder is still available.)

In fact, the interface has many features, and it would be superfluous to describe them all here. My task was to simplify the export as much as possible, and make it possible to export a large number of models en masse.

In order to convert your model to the format you need for MI, you need it to have a single texture, and also apply the triangulate modifier. ( If you need clear edges on the model, as if you had chosen shade flat, then apply the EdgeSplit modifier in the same way, with Sharp edge turned off. ).
After that, export the model as a PLY file, with the settings as shown in the screenshot.

( Pay attention to the ACSII checkmark, because the old converter worked without it. )

pYiQl94.png

Triangulate modifier 

rEbkS7X.png

EdgeSplit modifier 

oUgn5o9.png

PLY export settings

In fact, you can check all the boxes if you forgot which ones you need.

 

Next, the Blender-Bench UI will allow you to select textures for your models.

8JWRjll.png

Here you can see an example of usage ( from simple to awesome ), how you can use several models from Blender directly in Mine-imator:

L2uzOv8.png

F1bxBRx.png

The author of the works: Chee5eC5

Edited by Meisner Craft
Fix critical error
Link to post
Share on other sites

Quick question. When I try to import the mimodel file that's generated by Blender-Bench it gives me an error saying that it was created in a newer version of Mine-imator despite being in 2.0.2. Are you using a community build or something? If so, what's it called and where could I get it? Also just to clarify I can still use the meshcache file Blender-Bench generates. I'm just curious why I got this error.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...