0
Orientation of image assigned to SphereVisual3D
This discussion was imported from CodePlex
tacheleu wrote at 2012-12-07 20:42:
I am using the helixtoolkit of codeplex.
¿How I can set the orientation of the image that I assign to a sphere3D?
I can assign the ImageMaterial but ¿how to rotate/orientate the image?
Thanks in advace
objo wrote at 2012-12-07 21:25:
To rotate the image, try applying a Transform2D to the TextureCoordinates in your sphere geometry.
Or create a material from a VisualBrush or ImageBrush that contains a rotated image (slower performance).
http://msdn.microsoft.com/en-us/library/system.windows.media.transform(v=vs.95).aspx
http://msdn.microsoft.com/en-us/library/system.windows.media.media3d.meshgeometry3d.texturecoordinates.aspx
Customer support service by UserEcho