Archived

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

Lord Flashfire

Outline of a primitive

Recommended Posts

Lord Flashfire    122
I''m using the following code to draw two triangles in DX8: #define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZRHW|D3DFVF_DIFFUSE) FocalDevice->SetStreamSource( 0, VBuffer1, sizeof(CUSTOMVERTEX) ); FocalDevice->SetVertexShader( D3DFVF_CUSTOMVERTEX ); FocalDevice->DrawPrimitive( D3DPT_TRIANGLESTRIP, 0, 2 ); However, this fills the triangles with the colors of the verticies. How do I create just an outline of the triangles? Is there a way to do this without using a linestrip? ---- Herb M. (Lord Flashfire) s3202@attbi.com

Share this post


Link to post
Share on other sites