使用WPF绘制3D文字 [英] Drawind a 3D text Using WPF

查看:278
本文介绍了使用WPF绘制3D文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我想使用wpf
绘制3D Word 我知道我可以使用三角形作为例子:

Hello
I want to draw a 3D Word using wpf
I know that I can use triangles for example this one :

<GeometryModel3D.Geometry>
                                        <MeshGeometry3D

                     TriangleIndices="0,1,2 3,4,5 6,7,8 9,10,11"

                     Normals="1,0,1 0,0,1 0,0,1 1,0,1 0,0,1 0,0,1 "

                     TextureCoordinates="40,10 1,0 1,1 1,1 0,1 90,0 "

                     Positions="-0.2,-0.4,0.1 0.2,-0.3,0.5 0,0.4,0.3 0,0.4,0.3 -0.2,0.4,0.1 -0.2,-0.4,0.1 " />


但是,有没有比三角形更容易使用的方法?


But is there an easier way I can use instead of struggling with triangles?

推荐答案



尝试检查以下链接:
http://msdn.microsoft.com/en-us/magazine/cc163349.aspx [ ^ ]

问候
罗伯特
Hi,

try to check following link:
http://msdn.microsoft.com/en-us/magazine/cc163349.aspx[^]

Regards
Robert


这篇关于使用WPF绘制3D文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆