0
TextureAddressMode
This discussion was imported from CodePlex
Nikodem wrote at 2013-12-13 13:08:
Hello,
I have an application with Helix 3D Toolkit.
I am using seamless texture and I need to mapping textures (jpg) on the mesh in repeated mode (wrap mode).
mGeometries.Add(new GeometryModel3D(mesh, new DiffuseMaterial(imgBrush)));
for the imgBrush I need to have imgBrush with Wrap mode texture.
In the DirectX is enumerator TextureAddressMode.
http://msdn.microsoft.com/en-us/library/windows/desktop/bb206366(v=vs.85).aspx
How can I do this?
Many thanks
Jindrich
I have an application with Helix 3D Toolkit.
I am using seamless texture and I need to mapping textures (jpg) on the mesh in repeated mode (wrap mode).
mGeometries.Add(new GeometryModel3D(mesh, new DiffuseMaterial(imgBrush)));
for the imgBrush I need to have imgBrush with Wrap mode texture.
In the DirectX is enumerator TextureAddressMode.
http://msdn.microsoft.com/en-us/library/windows/desktop/bb206366(v=vs.85).aspx
How can I do this?
Many thanks
Jindrich
objo wrote at 2013-12-16 18:27:
I think you can use the TileMode property of the ImageBrush!
http://msdn.microsoft.com/en-us/library/system.windows.media.tilebrush.tilemode(v=vs.110).aspx
http://msdn.microsoft.com/en-us/library/system.windows.media.tilebrush.tilemode(v=vs.110).aspx
Customer support service by UserEcho