Jump to content
  • Advertisement
Sign in to follow this  

Draw SlimDX D3D9 Line with given thickness.

This topic is 2904 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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!