DirectX 3D Primitives equivalent in WPF?
There are Primitives types enum in DirectX that contains Point, Line, LineList, LineStrip, Triangle, TriangleFan, TriangleStrip...
I can find only Triangl开发者_JAVA百科e in WPF 3D.
Then how to draw point, line , or wired object.
If I do not supply material then I cannot see anything
Thanks
Did you look into Path Geometry? http://msdn.microsoft.com/en-us/library/system.windows.media.pathgeometry.aspx
For 3-D WPF uses Mesh Geometry to define the shapes of displayed objects.
Charles Petzold has an introduction here Foundations: 3D Mesh Geometries, MSDN Magazine April 2007
精彩评论