Giter VIP home page Giter VIP logo

csdx's Introduction

CSDX

C#/DirectX based graphics coding framework based on SharpDX (http://www.sharpdx.org)

The idea behind this project was to create a new graphics coding framework in the same vein as Processing, openFrameworks and Cinder, for C# and .NET programmers or those wanting to learn C# as well as the workings of DirectX.

Currently, the codebase is fairly small. All you can really do is create ellipses and rectangles, but I want to fully flush this out.

As of right now, I'm trying to use the latest and greatest, so Windows 8 is required for .NET 4.5.1 and DX11.

============================================================

The Current Codebase

CSDX

This is the main library. Contains calls to SharpDX functionality and abstracts a lot of the time-consuming and difficult stuff.

CSDXCore is the main class of the library. Used to create the DX window and will contain static calls to other classes in the library.

ExampleSketch

The ExampleSketch is fairly basic. Program.cs creates a reference to the main class where all setup and drawing will be done and then calls Setup and StartDraw to begin the render loop.

ExampleSketch.cs inherits from CSDXCore and overrides the Setup() and Draw() calls. These two methods will be where most of the work is done and are both required.

=============================================================

Usage

Currently, I'd suggest copying the ExampleSketch project and replace the code in Setup() and Draw() in ExampleSketch, but do not forget to make the base calls.

=============================================================

Future plans

I'd like to build a template to automatically create the Program.cs and the main cs file and take any confusion out of the users hands.

Otherwise it's basically creating new methods as I/we see fit and getting this thing off the ground.

Also, a learning experience for me to learn a lot more about programming and DirectX.

csdx's People

Contributors

snarehanger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

willjennings

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.