Hi,
I have trouble getting enough information about decals in my Rhino scene, using RhinoCommon.
I have tried to get information by calling RhinoObject.Attributes.Decals to get the list of decals on a certain object. It works fine, but I need to get hold of the image used for the decal in order to transfer the model.
How should the API be used to retrieve the filepath for this image?
I tried using Decal.TextureRenderCRC(Rhino.Render.TextureRenderHashFlags.ExcludeLocalMapping) to get a textureID, but maybe this ID is wrong.
Hopefully someone knows the way around this.
Bonus question: Is is possible to bake appearence into a texture for export? I image an object with a texture applied through the material channel and then also has a decal applied and the user needs a single texture on export.
Best regards, Maiken