开发者

DirectX 3D Primitives equivalent in WPF?

开发者 https://www.devze.com 2023-01-20 17:56 出处:网络
There are Primitives types enum in DirectX that contains Point, Line, LineList, LineStrip, Triangle, TriangleFan, TriangleStrip...

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

0

精彩评论

暂无评论...
验证码 换一张
取 消