chrisevans123
asked on
Extruding a 2D path
Hi guys,
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
Chris
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
Chris
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.