Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.



Code for my SharpDX Tutorials at www.johanfalk.eu.

Beginners Tutorial

The beginners tutorial describes the basics of SharpDX, starting with setting up a project in Visual Studio.

Part 1: Setting up a SharpDX project in Visual Studio 2013

In the first part we create the Visual Studio project, and adding the required NuGet packages. Read the full tutorial here: http://johanfalk.eu/blog/sharpdx-tutorial-part-1-setting-up-a-sharpdx-project-in-visual-studio-2013

Part 2: Creating a window

In the second tutorial we create a window which we will later render in. Read tutorial here: http://johanfalk.eu/blog/sharpdx-tutorial-part-2-creating-a-window

Part 3: Initializing DirectX

In this tutorial we initialize DirectX. We set up the swap chain and a backbuffer to render to and finally clear the backbuffer into a nice blue color. Read tutorial here: http://johanfalk.eu/blog/sharpdx-beginners-tutorial-part-3-initializing-directx

Part 4: Drawing a triangle

Finally time to draw something else than a blue screen. We draw a simple triangle from three vertices and add a simple vertex and pixel shader. Read tutorial here: http://johanfalk.eu/blog/sharpdx-beginners-tutorial-part-4-drawing-a-triangle

Part 5: Coloring the triangle

In this tutorial we will look at setting a specific color for each vertex. The tutorial is available here: http://www.johanfalk.eu/blog/sharpdx-beginners-tutorial-part-5-coloring-the-triangle