• Advertisement
Sign in to follow this  

How would I display only the edges of a mesh?

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

DirectX or SlimDX. It seems non-obvious - Aside from the round-about of DrawPrimitives. It's not a mesh option that I can see.

On the other hand, the intended method could be DrawPrimitives. Seems kinda awkward, though.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by deathkrush
For wireframe rendering you can set D3DRS_FILLMODE render state to D3DFILL_WIREFRAME. Is this what you meant by "only the edges"?

Wireframe, yes, thanks. I couldn't remember the technical term, so I went with the next closest.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement