• Advertisement

Archived

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

Drawing a line in D3D8 ?

This topic is 6063 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 know how to render textured geometry in d3d. But how do I draw a curved untextured line? (I need that for a graph)

Share this post


Link to post
Share on other sites
Advertisement
Draw a line strip with no texture. To draw a curved line, you will need to draw many segments to approximate the curve.

Share this post


Link to post
Share on other sites
I found what I needed thanks... I think I''ll try the new high-order primitives of d3d8.

IDirect3DDevice8::DrawTriPatch() and IDirect3DDevice8::DrawRectPatch()

Share this post


Link to post
Share on other sites

  • Advertisement