SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

1
0

Hi SciChart Team,
Is it possible to turn on anti aliasing for the major grid lines in 3D Surface?
The rendered lines in Chart look good, but the major grid lines look like they are built from the small strokes.

Version
5.4 latest stable
Images
  • You must to post comments
0
0

Hi Silvester

I was looking into this for you and found two problems.

There is a method in Viewport3D where you can start the 3d engine with Full Screen Anti Aliasing (if you’ve ever played PC games, you’ll know jagged lines are a problem, and you cannot AA a single line, but you can AA the entire scene).

So, try calling Viewport3D.Restart3DEngineWith() and pass in DirectXMode.AutoDetect, FullScreenAntiAliasingMode.MSAA4x

public static void Restart3DEngineWith( 
  DirectXMode directXMode,
  FullScreenAntiAliasingMode antiAliasingMode,
  bool d3d11UseLowerFeaturesLevel
)

However the problem. In version 5 of SciChart WPF I noticed this had little effect and in version 6 BETA it causes a crash. We will investigate both.

In the meantime, I suggest setting the line colour to be a little less black, try using some opacity, it will help blend the line Into its background and look less harsh. Many of our themes strategically choose colours to look the best on a variety of hardware.

Let me know if this helps,

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

SciChart WPF v6 BETA released! Note pricing/licensing changes are coming. Contact us to beat the rise!Read more
+