Texture rotation not applying when using Transformation on solid’s texture mapping in Eyeshot 2023

I am applying a material to solid and tryong to rotate the texture by an angle, it doesn't happen, eventhough 

solid.ApplyMaterial(material, textureMappingType.Cubic, scaleX, scaleY);
var solidTexture= solid.TextureMapping;
Transformation t = new Transformation();
t.Rotation(Math.PI / 3.0, Vector3D.AxisZ);
t.Scaling(1000, 1000);
solidTexture.Transformation = t;
solid.Regen(0.01);

when solid is added to designcontrol, the texture is not rotated at all. Could you please help me? I am using Eyeshot 2023

 

The reason behind this usage is to use the same material in different angle. Assume a roof is placed in many angle. Unless I have to rotate the image and add it as a seperate material all the time

 

1

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post