Jump to content
  • Advertisement
Sign in to follow this  
dmandn

Drawing wireframes of models

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

Hi, i would like to know if there is any way of drawing just the wireframe of a model? Or maybe how to increase the size of the dots drawn by the pixel shader? [Edited by - dmandn on February 3, 2008 4:17:47 AM]

Share this post


Link to post
Share on other sites
Advertisement
Direct3D9:
IDirect3DDevice9::SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME)


Direct3D10:
D3D10_RASTERIZER_DESC Desc;
/*...*/
Desc.FillMode = D3D10_FILL_WIREFRAME;
ID3D10RasterizerState* RasterizerState;
ID3D10Device::CreateRasterizerState(&Desc, &RasterizerState);
ID3D10Device::RSSetState(RasterizerState);

Share this post


Link to post
Share on other sites
Ah silly me, im using visual c++ and cg with opengl. I'm actually trying to get more of a silhouette look going if its possible, i'm not having much luck with good ones though.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!