Coder Social home page Coder Social logo

sharpdxtutorials's Introduction

SharpDXTutorials

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.

Part 2: Creating a window

In the second tutorial we create a window which we will later render in. Read tutorial here.

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.

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.

Part 5: Coloring the triangle

In this tutorial we will look at setting a specific color for each vertex. The tutorial is available here.

sharpdxtutorials's People

Contributors

mrjfalk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sharpdxtutorials's Issues

Texture triangle?

Really liked the tutorials. Would it be possible for you to show how this triangle example could use a texture rather than colours? I have been playing around with it for a while and I just end up with black!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.