Original Post
🔒 Locked
line width
Advertisement
I read it''s not possible in DX. (Additional notes)
http://www.flipcode.com/articles/article_objectoutline.shtml
but some cat wrote a routine
http://www.flipcode.com/cgi-bin/msg.cgi?showThread=COTD-TexturedLinesInD3D&forum=cotd&id=-1
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)
http://www.flipcode.com/articles/article_objectoutline.shtml
but some cat wrote a routine
http://www.flipcode.com/cgi-bin/msg.cgi?showThread=COTD-TexturedLinesInD3D&forum=cotd&id=-1
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)
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement