Since Rhino 8 SR19 (SR18 works correctly) material names are swapped randomly when an FBX file is imported.
This breaks any material name based scripts or automations.
Could you give it a try with Rhino8 SR22? Thank you.
Already tried but got the same result, only rolling back to SR18 fixes it.
Thank you for your feedback. Could you please provide a sample file related to this issue? Please also take a screenshot of the material name of the original FBX file.
If the following FBX file is opened with Blender or 3ds Max the materials are correctly assigned. If imported with Rhino, the material ‘Sólido / Color / Verde Claro’ gets its name replaced by ‘Red / Ortogonal / 150x150 / 03’ which is assigned to another object on the topography surface.
Test.fbx (81.7 KB)
Hi fjtorres -
When I import the .fbx file into, e.g., Rhino 7, I see something like this:
When I do the same in the latest version of Rhino 8, I see exactly the same thing.
I also see that in previous versions, there are two different materials that show up as green in the viewport, whereas there is only one such green material in later versions.
In the Rhino code changes, I see something marked “FBX materials are not shared” - which is the likely commit that causes what you are seeing. I looks like the developers are trying to fix an issue, and given the unchanged result in the Rhino viewports, I’m not sure if that is wrong.
Do you see a difference in the materials when up open that FBX file in Blender or 3ds Max?
If not, can you provide more information about what is wrong here?
-wim
The issue has nothing to do with appearance, it is about material names so a viewport capture does not provide enough information to reproduce the issue. You have to check the assigned materials and their names by clicking each object and looking at the material information panel.
In Blender, 3ds Max and Rhino 8 S18 materials are properly assigned.
As shown in the following captures, materials that share similar appearance are getting their names swapped with the latest Rhino 8 SRs,
Hi fjtorres -
On the heap: RH-89515 Rendering: Materials: FBX Import Change
-wim
RH-89515 is fixed in Rhino 8 Service Release 25

