MoI discussion forum
MoI discussion forum

Full Version: OBJ export.. skip PartTag and UVs.

From: Robert (MAESTROROBERTUS)
6 Mar 2019   [#1]
Hi there,

I wonder if that could be added as an option.
When even I import OBJs or LWOs exported from Moi3D I get UVs and PartIDs (whit the name of the Surface).
Both causes bigger files and performance. So I delete them. Now on bigger files this can be quite time consuming.
Unfortunately I haven't found an importer that does skip these two parameters. At least not in the software I use.

So, if possible, I would love to have this optional in Moi3d to leave out both.

Thanks,

Robert
From: Michael Gibson
6 Mar 2019   [#2] In reply to [#1]
Hi Robert, for .obj files there is an option in the UI for disabling writing material assignments, under Options > Import/Export > "Obj options" > "Write material assignments".

You can also disable writing UV coordinates for .obj files by a setting in moi.ini - go to Options > General > "Edit .ini file" button and inside moi.ini find [OBJ Export] WriteTextureCoordinates=y and change it to =n like this:

[OBJ Export]
<...>
WriteTextureCoordinates=n

There is also a similar moi.ini setting for disabling UV coordinates to LWO format:

[LWO]
<...>
WriteTextureCoordinates=n


There is not currently a way to disable writing material/surface assignments to LWO files but I will see about adding that in.

- Michael