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

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -