ID3DXLine in D3D8

Started by
2 comments, last by XoreDevelopment 18 years ago
Is there something in D3D8 that I might be able to use as the same as you would with ID3DXLine in D3D9? I've searched around a little, and I couldn't find anything :-(
Advertisement
Nevermind, I figured it out.
EDIT: Beat me to it :(


First, there may be something, but none that I know of.

If you just need to draw lines for debugging purposes, or only need lines with a width of 1 pixel, there is a line primative type you can use instead of the standard triangle strip.

If you need more functionality (ie. a width > 1), this might be a good little side project to work on: create a utility class that, when supplied 2 points and a line width, it will draw a line using trianlgles!

Hopefully someone can give you a definitive answer to your original question.

Matt
__________________________________[ Website ] [ Résumé ] [ [email=contact[at]matthughson[dot]com]Contact[/email] ][ Have I been Helpful? Hook me up! ]
Well, I found D3DVECTOR. So if you know a better way, please tell me!

This topic is closed to new replies.

Advertisement