WPF : 3D 给GeometryModel3D对象贴图

GeometryModel3D model = .;

string imgFile = @"C:\a.jpg"
;
Uri imgUri 
= new
 Uri( imgFile, UriKind.RelativeOrAbsolute );
ImageSource imgSrc 
= new
 BitmapImage( imgUri ); //load image

DiffuseMaterial mtr 
= new
 DiffuseMaterial();
mtr.Brush 
= new
 ImageBrush( imgSrc );

model.Material 
= mtr; 
原文地址:https://www.cnblogs.com/mrfangzheng/p/1179607.html