Knowledgebase
Creating and Deploying Applications with the Direct3D11RenderSurface
Posted by Andrew BT on 05 February 2019 04:24 PM

How to Create Applications with the Direct3D11RenderSurface

SciChart ships with four renderer plugins - the High Speed (software), High Quality (software), DirectX  (hardware) and Vector renderers. These all have independent properties such as speed, accuracy and now with DirectX - hardware acceleration. 

Enabling the DirectX Renderer Plugin

To enable the Direct3D11RenderSurface, auto-detect hardware compatibility and fall back to software, please follow the steps in the article Easy Fallback from DirectX to Software Rendering without code-behind which presents a nice easy way to fall-back to software rendering (from DirectX) via a single attached property.

Deploying the DirectX Renderer Plugin - DirectX Runtime

The SciChart Direct3D11RenderSurface requires SharpDX v4.0.1 and also has a dependency on two native DLLs:

  • sharpdx_direct3D11_1_effects_x64.dll
  • sharpdx_direct3D11_1_effects_x86.dll

To deploy applications including the Direct3D11RenderSurface, you need to ensure that the native DLLs are copied to the output directory of your application. If not, you will get a DllNotFoundException warning you about the missing native DLLs.  

To ensure these DLLs are included correctly, we suggest following the steps in this video below:

Testing your Application with Direct3D11RenderSurface

If you are deploying to a wide variety of harward, we recommend that you test your application which uses the Direct3D11RenderSurface on computers that do not support DirectX10, for instance, Windows XP machines, or machines without a DirectX10 compatible GPU installed, in order to check that the fallback to software rendering has been installed correctly. 

 

 

 

(8 vote(s))
Helpful
Not helpful

Comments (0)

CONTACT US

Not sure where to start? Contact us, we are happy to help!


CONTACT US

SciChart Ltd, 16 Beaufort Court, Admirals Way, Docklands, London, E14 9XL. Email: Legal Company Number: 07430048, VAT Number: 101957725