Skip to content

Latest commit

 

History

History
75 lines (47 loc) · 3.45 KB

README.md

File metadata and controls

75 lines (47 loc) · 3.45 KB

OpenGL 4 for C#/.NET Tutorials

I've begun creating tutorials based loosely on the NeHe tutorials, which were (and still are) quite popular for learning OpenGL. However, these tutorials use the more modern programmable pipeline, as well as the opengl4csharp library.

These tutorials have been built on Windows PCs, but should work with minimal modifications on Linux and Mac OS X.

Each tutorial has an accompanying video on my youtube account, where I create the tutorial source code from scratch.

License

Check the included LICENSE.md file for the license associated with this code.

Building each Project

Each tutorial includes a .sln and .csproj file which will create an OpenGL program. Both the .sln and .csproj are compatible with Visual Studio 2010 and later. All of the associated .dlls (such as Tao.FreeGlut and OpenGL) are included in the libs folder of each project. Currently some projects may contain references to textures that do not exist in the repository. I am working to secure open source content that I can freely distribute under the repository, and will update the projects when possible.

Tutorials

Tutorial 1: Opening an OpenGL window

Tutorial 1 on YouTube

Tutorial 1

Tutorial 2: Rendering 2D Shapes

Tutorial 2 on YouTube

Tutorial 2

Tutorial 3: Color and Linear Interpolation

Tutorial 3 on YouTube

Tutorial 3

Tutorial 4: Rotation via the Model Matrix

Tutorial 4 on YouTube

Tutorial 4

Tutorial 5: Rendering 3D Shapes

Tutorial 5 on YouTube

Tutorial 5

Tutorial 6: Texture Mapping

Tutorial 6 on YouTube

Tutorial 6

Tutorial 7: Lighting, Keyboard Control and Fullscreen

Tutorial 7 on YouTube

Tutorial 7

Tutorial 8: Alpha Blending

Tutorial 8 on YouTube

Tutorial 8

Tutorial 9: Billboards and Particles

Tutorial 9

Tutorial 10: Bitmap Font and Orthographic Projection

Tutorial 10

Tutorial 11: Waving Flag using Vertex Shader

Tutorial 11

Tutorial 12: Points, Particles and Antialiasing (Multisampling)

Tutorial 12

Tutorial 13: Simple Normal Mapping in Shader

Tutorial 13

Tutorial 14: Rotating Objects with the Mouse

Tutorial 14

Tutorial 15: Quaternion Based First Person Camera

Tutorial 15