I'm sorry for the confusion…
Let's restart clean:
In houdini there's 2 way of applying materials
1. Obj way in the obj property, one material possible.
-> Just like Softimage when applying a mat to the root of the geo
2. SOP way where's the material is written in the geo as an attribute with the shader path.
-> In Soft this is just like when you apply a Material to a cluster
-> So what if a material is applied on 1 & 2 ? Well, the SOP way has simply a higher priority and that's good just like softimage.
So far so good ?? well, yes until you want to merge 2 geos, In soft there's a button to merge also the materials and works well because it takes too the root material AND the priority with the clusters
On the houdini side obj_merge wipe completly the OBJ material….
There's a script on ODforce given to Jordi Bares to solve this but this is only sloving it halfly because the script this time wipe completly the SOP materials…
http://forums.odforce.net/topic/19422-object-merge-question/?hl=%2Bobject+%2Bmerge [
forums.odforce.net]
So, i'm now 2y later asking if somes had a sort of updated script with the right behavior ;-)
That's not a strange request by the way.
A simple FBX import generate this types of mixed materials…