Code Monkey home page Code Monkey logo

opengl-tutorials's Introduction

opengl-tutorials

About

This is a collection of D ports of various C/C++/WebGL online OpenGL tutorials and samples contained within OpenGL books, as well as any new D OpenGL examples.

This project seeks to be a hub of ready-to-compile OpenGL examples which will make it easy for new D game developers to learn from and experiment with.

It is a long-term project and will be getting steady updates over time.

Homepage: https://github.com/d-gamedev-team/opengl-tutorials

Target OpenGL version

These samples use OpenGL v3.x+ and do not cover immediate mode OpenGL.

Hardware Requirements

Before building make sure you have an OpenGL v3.x+ compatible GPU card and the latest device drivers.

Platform support

  • Tested run on Windows 7 x64 with x86 and x86_64 as the target architectures.

  • Buildable on Linux x64, with x86_64 as target. We have not been able to build with x86 as the target yet. Additionally we weren't able to run the samples on Posix since VirtualBox has poor OpenGL driver support.

Note: Use -a x86 or -a x86_64 when invoking dub to select the target architecture.

Building

All of the samples in this repository can be built using dub and a recent (2.065+) version of a D compiler.

List of OpenGL projects in this repository

OpenGL Tutorial Ports

opengl-tutorial.org (work in progress)

The opengl-tutorial.org project is a set of C++ tutorials covering OpenGL v3.3+.

The included D port contains code samples which have been ported into D.

Upcoming Ports

There are several D ports that are awaiting some cleanup and dubification, the following are coming soon:

Planned Ports

Note: If you know of any other tutorials targetting OpenGL v3.x+ please file an issue with a link to the tutorial, thanks!

Examples from the following books might be worth porting, although these aren't planned yet:

WebGL-based tutorials and books also exist in great numbers, and should be worth porting to D.

License

Each tutorial or book has a license for the samples that it contains. Check the individual D ports for licensing information.

opengl-tutorials's People

Contributors

andrejmitrovic avatar

Watchers

 avatar

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.