Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

SharpDX - TriangleList renders antialiased but LineList renders with jagged edges

4: Adsense

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   

1088
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



#2 8up tuotlo   Members   

123
Like
0Likes
Like

Posted 23 February 2014 - 02:47 AM

DirextX antialliasing is acceptble only for triangles no lines and points



#3 axefrog   Members   

1088
Like
0Likes
Like

Posted 23 February 2014 - 04:27 AM

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



#4 Migi0027 (肉コーダ)   Members   

4568
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


FastCall22: "I want to make the distinction that my laptop is a whore-box that connects to different network"

Blog about... stuff (GDNet, WordPress): www.gamedev.net/blog/1882-the-cuboid-zone/cuboidzone.wordpress.com/


#5 axefrog   Members   

1088
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.






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.