Intermediate Shapes And History

I have a model - textured, UV'ed, a color set, multiple materials, etc - a typical video game model. I want to turn this model into an intermediate poly shape and pass it through some ultility nodes into a new mesh node.

THe problem is that I can't get the shading group info to pass on to the shape at the end...it appears the resulting shape needs to have materials defined for it as well. The problem is i want to be able to make changes to my intermediate shape, pass the changes through my ultility nodes, and see the result at the end...but if the shape at the end has it owns material sets, and the face numbering changes due to geo changes upstream, the materials get scrambled.

So i can take the shadinggroup set info from my intermediate shape and share it with the shape at the other end of my history chain downstream?!

Thanks!

what utility nodes are you running it through?

i'm running my mesh through some polyColorMod and polyBlendColor nodes so I can layer vertex color sets, and tweak the HSV sliders, RGB color ramps, etc.

When I examine the face #s of my intermediate shape versus the final shape, the face numbers match, reagrdless of how much I split, merge, extrude etc. on my intermediate shape. The problem is the materials get scrambled on the final shape.

I basically looking for a way to collect the faces applied to the materials from the intermediate shape, and make sure that same list of faces gets applied to the right materials on the destination shape.

It seems to me that I should only apply the materials once...on the intermediate shape, but since materials are bound to meshes by name, i need to also assign the materials to my destination shape. If I do assign the materials to the same faces on each mesh, as soon as I modify the intermediate shape geo, the materials get scrambled on the destination shape.

Reading a little bit about groupParts and groupId nodes...wondering if either node could be bent to suit my needs...
Basically, I need parity between the intermediate and final shape, such that intermediatepolyShape1.face[23] and polyShape1.face[23] share the same material, and if i change the topology of the intermediateShape such that face[23] shuffles to a new face, that the material match between the two meshes....currently, when i alter the topology on the intermediate shape, the materials hold up, but downstream the materials get scrambled.