Jump to content

  • Log In with Google      Sign In   
  • Create Account


SharpDX - TriangleList renders antialiased but LineList renders with jagged edges


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 axefrog   Members   -  Reputation: 286

Like
0Likes
Like

Posted 22 February 2014 - 07:00 PM

I'm initializing the swap chain with SampleDescription(4, 0) and the output is showing triangle primitives rendered with 4x antialiasing as expected, but the line list is being rendered with no antialiasing at all. What could cause this? See below:

 

2014-02-23_0058.png


I'm blogging about my journey to learn 3D graphics and game programming: http://nathanridley.com


Sponsor:

#2 8up tuotlo   Members   -  Reputation: 120

Like
0Likes
Like

Posted 23 February 2014 - 02:47 AM

DirextX antialliasing is acceptble only for triangles no lines and points



#3 axefrog   Members   -  Reputation: 286

Like
0Likes
Like

Posted 23 February 2014 - 04:27 AM

I see... do you have a source I could refer to for further information?


I'm blogging about my journey to learn 3D graphics and game programming: http://nathanridley.com


#4 Migi0027   Crossbones+   -  Reputation: 1660

Like
1Likes
Like

Posted 23 February 2014 - 04:46 AM

Directx 11 Rasterization state: http://msdn.microsoft.com/en-us/library/windows/desktop/ff476198(v=vs.85).aspx

 

In the state there's a specific option named: AntialiasedLineEnable

 

I'm not sure about the name in SharpDx though unsure.png

 

Hope this helps.

-MIGI0027


Hi! Cuboid Zone
The Rule: Be polite, be professional, but have a plan to kill everyone you meet, ohh, AND STEAL ALL ZE TRIANGLES FROM ZHEM!

#5 axefrog   Members   -  Reputation: 286

Like
0Likes
Like

Posted 23 February 2014 - 05:39 AM

Directx 11 Rasterization state: http://msdn.microsoft.com/en-us/library/windows/desktop/ff476198(v=vs.85).aspx

 

In the state there's a specific option named: AntialiasedLineEnable

 

I'm not sure about the name in SharpDx though unsure.png

 

Hope this helps.

-MIGI0027

 

Right you are, sir. In SharpDX it appears to be a property of the RasterizerStateDescription, which is used to initialize a new RasterizerState object, which is then assigned to the ImmediateContext object, which is a property of the DeviceContext.


I'm blogging about my journey to learn 3D graphics and game programming: http://nathanridley.com





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS