MoI discussion forum
MoI discussion forum

Full Version: Baking MoI styles to vertex colors

From: Metin Seven (METINSEVEN)
26 Aug 2018   [#1]
Hi,

Is there a way to bake colors assigned as styles to areas of a solid in MoI to vertex colors?

I need to bake the colors to vertex colors to make it suitable for multi-color 3D printing.

I could do it manually by exporting an OBJ with MTL file, importing it in Blender, selecting the vertices of each color area, and filling it with a color in Vertex Paint mode, but that would take too much time, because there will be multiple objects.

Many thanks in advance for your help.
From: Michael Gibson
26 Aug 2018   [#2] In reply to [#1]
Hi Metin, there is a new option in V4 for exporting vertex colors to FBX format. You need to enable it in moi.ini under:

[FBX Export]
WriteVertexColors=y

Also to get an FBX file from MoI to Blender you'll need to modify the version of FBX file that MoI exports, see here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8683.9

- Michael
From: amur (STEFAN)
26 Aug 2018   [#3]
Hi Metin,

an additional info from me... I use on a lot of projects at work
MoI 3.1 with Blender to print multi colored objects, which are
based on MoI's style colors. I simply assign the styles in MoI
and export as .obj. Once imported into Blender i adjust the
color values in Blender's shader tab Diffuse = Intensity 1.0
and Specular = Intensity 0. After that i export the model(s)
as VRML 2.0 i.e. .wrl files.

If you followed the "Pattern on a Sphere" thread here you
can see a 3D color sandstone print from me.

Regards
Stefan
From: Michael Gibson
26 Aug 2018   [#4] In reply to [#1]
Also if Blender isn't able to see the FBX vertex colors, try turning off "Weld vertices along edges" when exporting out of MoI, that makes a simpler type of mapping.

- Michael
From: Metin Seven (METINSEVEN)
27 Aug 2018   [#5]
Many thanks Michael and Stefan!

Very good to know about the new FBX vertex color option in MoI V4, and otherwise I'll try Stefan's tip. I always thought material colors weren't recognized if you export as VRML, only vertex colors.