Home > other >  How D3D11 bold lines
How D3D11 bold lines

Time:09-19

Rasterizer AntialiasedLineEnable had already open, but after the scale become bigger, straight line will still become very thin, is like concealed, moving all kinds of flashing
Excuse me each bosses how bold straight line, or how to adjust the linear scale, such as the following two pictures, one is for my own use D3D11, one is shown in the Ansys, but in terms of conditions are the same, but the line is very fine, turn up is all kinds of flash

CodePudding user response:

You're going to draw the edges of the triangle?

CodePudding user response:

reference 1st floor WJN92 response:
do you want to draw out the side of the triangle?

Yes, the border of the triangle with a white line drawn, but very thin, want bold

CodePudding user response:

Which is your picture,
In the geometry shader for triangle inside,
Then let the side of the triangle with new triangles drawn,
Want more coarse can be drawn

CodePudding user response:

L problem how to solve the building Lord, I now want to bold, but I don't know how to set up,
Struct Seat
{
XMFLOAT4 Size;//size
XMFLOAT4 Pos.//position
XMFLOAT4 Char;//character
XMFLOAT4 Col.//color
};
And there are no related parameter can be set the font size,
  • Related