Sign in to follow this  
mrheisenberg

Visual Studio DirectX Graphics Debugger - Can I get Rasterizer info?

Recommended Posts

mrheisenberg    362

I'm generating a mesh from a list of triangles and I can see the mesh properly in the Input Assembler in the Graphics Diagnostics of Visual Studio 2013, I can even see the proper vertex coordinates go trough the vertex shader, however the mesh doesn't get drawn.I think the rasterizer doesn't see it as triangles or something.All my other meshes render properly, however this one doesn't.I'm building it by adding pairs of 3 vertices in a list of triangles.What could be causing it to properly show up in the debugger, but not on the real screen?

Share this post


Link to post
Share on other sites
Jason Z    6434

Is your vertex winding in the correct order?  If not, then you would see your vertices lookin' good up until the rasterizer, where they would be back face culled.  Try to set the back face to none in the rasterizer state object to see if this is the case.

 

I believe there is also a way to select a pixel that would have been affected by a particular primitive, and then you can see what caused that primitive to get removed from the pipeline.

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