[SOLVED]Ofusion Material Export Names/Multisubs

Major

18-02-2009 05:27:20

Previous versions of Ofusion Pro have exported materials contained within Multisub's in the following format

MultiSubName/OfusionMaterialName

We'd use this in our scenes for material management.

eg:

Building1(Multisub)
1 - Bricks (OfusionMat)
2 - Footpath (OfusionMat)
3 - Roof (OfusionMat)
4 - Ceiling (OfusionMat)

Building2(Multisub)
1 - Bricks (OfusionMat)
2 - Footpath (OfusionMat)
3 - Roof (OfusionMat)
4 - Ceiling (OfusionMat)

Where the sub-materials with the same name (Bricks/Footpath/Roof) are all considered unique within Max because they are contained within a Multi-Sub. eg Bricks material from Building1 is a completely different material to Bricks from Building2.

Our materials would look like this exported:

Building1/Bricks
Building1/Roof
Building2/Bricks
Building2/Roof

etc etc..

Now Ofusion seems to be ignoring the Multisub name, and its creating a whole bunch of duplicate materials in both the viewport and exported files. All Ofusion materials called Bricks, regardless of the multisub they belong to, are now all considered the one material.

This is creating some havok in our scenes.

Why does the Multi-sub name no longer get exported as part of the Ogre material name, and can this be changed/modified to replicate the old behaviour?

This change appears in 1.9.66.

EDIT:

Appears this change appears in all the new 64Bit support versions, however the current 1.9.35 versions are fine.

Lioric

18-02-2009 05:39:04

It was a change that resulted from what our users asked for, but the support to enable or disable "SubMaterial naming" is in the latest version, 1.9.66 from your account page (the material name is the result of the root material name plus each sub material name, as "parentName/submtl01")

This new option can be enabled in the Export dialog (with the "Use SubMtl naming" option) or via the batch interface with:

oExporter.setGlobalProps "UseSubMtlNaming" true

When this option is enabled it will produce the material names as in the previous versions

Major

03-03-2009 03:18:54

Just interested to know if there has been any progress on this issue.

It is true that I can still export the old way based on my selection in the export window, however I cannot find any way to change the Ofusion Viewport to behave in the old way.

Lioric

03-03-2009 04:20:50

This was fixed, an update will be provided during this week that contains this fix

Major

03-03-2009 05:07:20

Thanks!

Major

20-03-2009 03:20:50

Just wondering if this update is coming anytime soon?

Major

26-03-2009 01:03:13

All solved, thanks!

Keep up the good work!