Home > Software engineering >  Consult d3d rendering frame problem...
Consult d3d rendering frame problem...

Time:09-19

D3d11 are used to draw a 2 d picture, if the same vertex coordinates, by employing D3D11_FILL_SOLID FillMode and D3D11_FILL_WIREFRAME to draw pictures and picture frame, find the location of the frame drawing and pictures of the actual frame has a pixel offset, master has met, what could be the cause?




D3D11_FILL_SOLID drawings position seems to be correct,
D3D11_FILL_WIREFRAME mapped the borders, the position and would like to see the different, a pixel deviation,

CodePudding user response:

Can only help the top


CodePudding user response:

Floating point error?
It shouldn't, two rasterizer mode is based on vertex to the interpolation

CodePudding user response:

reference WJN92 reply: 3/f
floating point error?
It shouldn't, two rasterizer mode is based on vertex to the interpolation


It should not be error, vertex data written in one time, two mode should be the same,

CodePudding user response:

Cutting area, the size of the render area are to be the same

CodePudding user response:

reference 5 floor WJN92 reply:
cutting area, the size of the render area are to be the same oh


Yes, just changed the FillMode, other

CodePudding user response:

Don't know, dx12 can use PIX debugging, can its don't know
  • Related