I have developed a 2d graphics app which can create simple outlines (consisting of straight lines only). Using DirextX, I would like to extrude each line into a face based on a height parameter. Each Shape (2D) has an array of Point objects (X & Y values).
Can anyone help?
I'm using C# but i'll accept the algorythm in pseudo code if you're not familiar with c# as long as it uses standard verticies / vertex buffers / index buffers etc.
Thanks in advance