Skip to main content
gamedev.net
🔒 Locked

Line pattern

Started by Powerino73 4 replies 1k views
Original Post
Powerino73
Powerino73
Anyone knows how to draw line pattern in directx like OpengL?
Atrix256
Atrix256
by line pattern do you mean stippled lines / dashes and dots and that sort of thing?

If so check this out:

http://www.gamedev.net/community/forums/topic.asp?topic_id=309786
Powerino73
Powerino73
thanks for your reply but the links you suggest isn't so usefull!
Atrix256
Atrix256
Basically they are saying you want to use ID3DXLine to do what you want

heres some details about that guy:
http://msdn.microsoft.com/en-us/library/bb174016%28VS.85%29.aspx
Powerino73
Powerino73
i read microsoft documnetation and it says that in directx 9 and above line pattern in no more supported....is it true?
Evil Steve
Evil Steve
Quote:
Original post by Powerino73
i read microsoft documnetation and it says that in directx 9 and above line pattern in no more supported....is it true?
Well I doubt the official documentation is lying [smile]

Yes - that's why ID3DXLine exists - modern hardware deals with triangles, not lines. ID3DXLine emulates lines through triangles for you, which should give you all the features you need.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.