Sign in to follow this  
Narf the Mouse

How would I display only the edges of a mesh?

Recommended Posts

Narf the Mouse    322
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
Narf the Mouse    322
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this