Hi, I need to mapping a texture with a script. is there any way? I can add a material to an object but I can’t mapping it!
How about this:
Rhino.DocObjects.Material mat = new Rhino.DocObjects.Material(); mat.SetBitmapTexture(filename);
thanks, but Daniele (he’s friend of mine) would ask how to manage Texture Mapping coordinates not how to select the texture(image).
Could you show us an example?
I don’t believe you can do texture mapping, as you describe, in RhinoCommon yet. I know it is being worked on. Perhaps on a service release or two, we can provide this function and, thus, an SDK sample.