Jump to content
  • Advertisement
Sign in to follow this  
XoreDevelopment

ID3DXLine in D3D8

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

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 :-(

Share this post


Link to post
Share on other sites
Advertisement
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

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.

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!