Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


line width

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

I read it''s not possible in DX. (Additional notes)

but some cat wrote a routine

Here''s an idea to do it in hardware for double or quadrupled sized lines.
Render all your lines to a texture [rendertarget] that''s a power of 2 smaller than your screen size. Then draw the quad fullsized and hardware will scale it up, giving you extra thick lines. (it may look jaggedy but that''s the style yo)

Share this post

Link to post
Share on other sites
1) ID3DXLine.

2) Drawing as quads (like ID3DXLine) are how wide lines are achieved internally with other APIs, and drivers.

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
If you''re going to use Lines to draw Outlines of objects please tell me if it worked and how you did it...
I can''t get it to work

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!