Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello
I want to draw a 3D Word using wpf
I know that I can use triangles for example this one :

XML
<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?
Posted
Comments
Sergey Alexandrovich Kryukov 22-Jan-12 13:41pm    
Interesting question, my 5. I suspect you need to travel a really long way to make it happen -- something like creation of "3D fonts". Even if you use available fonts (which is possible, in principle, you can extract geometry of each character) and just add thickness to the characters, you will need considerable effort, because font geometry is pretty complex, it contains curves.
--SA

1 solution

Hi,

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

Regards
Robert
 
Share this answer
 
Comments
Amir Mahfoozi 23-Jan-12 0:57am    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900