directx - Drawing lines with rounded endings with Direct3D -
is there way draw line using id3dxline round endings? trying draw curve number of line segments, getting empty areas line segments connecting. performance here essential.
thanks!
any other fast way draw thick curved line using d3d?
you best off using circular texture (with antialiasing around edges) , drawing half texture @ either end of line. can render strip through center of texture whole way along rectangle surrounding line before finishing off other half of texture @ other end. give effect after tad more involved calling "drawline" or whatever ...
Comments
Post a Comment