Subd - Vertex Colours and Multiple Materials

Hi everone!

I was wondering, if it is actually possible to add face or vertex colors for SubDs via Rhino Common API or if I’m overlooking something?
I can not find any hint to it in the documentation, but it seems people got to something alike here:

Same for mutiple materials. I noticed it is possible for Breps/Polysurfaces, but I could not find it for Subds.

I’m currently working on an IO tool/converter from external mesh modeling softwares and their catmull clark subdivisions usage to Rhinos SubD - which is working great to some limitations - there are some concepts that almost all Mesh modeling softwares share, but SubD unfortunately does not support yet, as mainly the ones listed above and proper corner creases and setting and getting creases via Rhino Common as mentioned here

So I just wanted to give a bit of a shoutout and asking mainly if I overlook something about several materials/vertex & face colors on Subd and also maybe if that is something to be expected in the future?

Best and thanks for your help already,
Chris

Hi @CGr, have you tried this: subdFace.PerFaceColor()

_

c.

Ah no, I must have overlooked that method, I suppose that’s also what was used for this addon, I tried and works like a charme, thanks for this!

I’m mainly wondering about multiple materials - also for meshes.
Breps have multi-material options since Rhino 8 I believe and it would be great to have this on Subds for several reasons.

Hi @CGr, since we can only assign subobject materials to brep faces, i asume this is not yet possible for subd or mesh faces.

_

c.