• Advertisement
Sign in to follow this  

Draw SlimDX D3D9 Line with given thickness.

This topic is 2305 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there,
I am drawing a graph application which draws Lines (data for few hours around 100000 lines max) using SlimDX.Direct3D9.

My requirement is that I should draw the line with a given color and thickness. I could draw the lines using Primitive drawing approach; but failed in providing thickness. I have seen people saying to use VertexShader,PixelShader, GeometryShader etc. But could not find a complete set of example. Some one Please tell me how to write a '.FX' file and get the shader details from it and apply for my Primitive to increase the line thickness. Thanks in advance.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement