Jump to content
Posted 07 January 2014 - 10:00 AM
Posted 07 January 2014 - 12:56 PM
Edited by Amr0, 20 November 2015 - 09:13 AM.
Posted 07 January 2014 - 03:18 PM
Since you're using D3D9, you probably can use the D3DX line support. But really, thick lines are just a polygon strip (can be known as a "polyboard") that follows your polyline and which is oriented to give the impression that there is thickness (kind of like how particle effects traditionally are done).
Mathematics for 3D Game Programming and Computer Graphics by Eric Lengyel has a section describing the technique and math behind it.
Posted 14 January 2014 - 12:19 PM
Thanks for the answers!!!
I see the examples that come up with Microsoft DirectX SDK (June 2010), and a couple of hours later (watch the code step by step) I can draw some triangles and lines
Nice lines that yout show to me Amr0