Skip to content

drewet/opengl-tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/AndrejMitrovic/opengl-tutorials

Target OpenGL version

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

Hardware Requirements

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

Building

All of the samples in this repository can be built using dub and a recent 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 all of the code samples which have been ported into D.

Upcoming Ports

There are several D ports that are awaiting some cleanup and dub-ification, the following will be 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!

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

  • Real-Time Rendering
  • OpenGL Programming Guide
  • OpenGL SuperBible
  • OpenGL Shading Language
  • OpenGL 4.0 Shading Language Cookbook
  • OpenGL Development Cookbook
  • OpenGL Insights

WebGL tutorials and books also exist in great numbers, although they might be more difficult to port to D due to the use of Javascript / HTML5.

License

Unless noted otherwise, samples are distributed under the Boost Software License, Version 1.0.

Note that samples which were ported from existing tutorials likely have their own specific license.

See their accompanying license headers for more info.

About

A collection of D OpenGL Tutorials and D ports of C/C++/WebGL samples.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages