Tutorials

Tutorial PreviewGLSL is the OpenGL Shader Language, and is the OpenGL version of HLSL for DirectX. It allows us to manipulate the scene on a per vertex and per fragment basis, giving us total control.
More
  • March 25, 2010
  • 64
OpenGL Tiling Engine Tutorial PreviewIf you want to create a game like Sim City, or an RPG, then you are going to need some sort of tiling engine. This breaks up the ground into a bunch of known images and places them on runtim. This saves us having extremely large image files for an entire map and also makes it customizable in-game.
More
  • March 25, 2010
  • 15
OpenGL Orthogonal Projections Tutorial PreviewWhile OpenGL is built for 3D rendering, it does also support 2D. This is where you want orthogonal projections, which are perfect for a Heads Up Display, or a menu system.
More
  • March 25, 2010
  • 10
OpenGL Animating Textures Tutorial PreviewTextures by themselves are perfectly fine, you don't have to do anything with them. But have you ever wanted to load a movie into a 3D scene? Maybe you want to read a movie file, and display it on a quad moving around your scene. Well you can, but you have to do it frame, by frame.
More
  • March 25, 2010
  • 9
OpenGL Particle Engine Tutorial PreviewLets face it, particles are ALOT of fun. Whether you want to create a weather system, some awesome fire, or just throw a million objects around randomly, they are both stimulating in a game, and fun.
More
  • March 25, 2010
  • 15
OpenGL Sphere Tutorial PreviewWhile GLUT provides a sphere for us to draw, that sphere does not contain texture coordinates. In this tutorial, I will show you how to create your own sphere, which has texture coordinates included. Now you can make that solar system demo you have always wanted!
More
  • March 25, 2010
  • 34
OpenGL Circle Drawing Tutorial PreviewCircles are one of the few shapes that are not default in OpenGL, but the good news is, they are easily created using lines. In this tutorial, I will show you how to draw a nice, round, circle.
More
  • March 25, 2010
  • 15
OpenGL Bounding Sphere Tutorial PreviewAt present, none of our OpenGL shapes can interact with each other, that is because OpenGL is purely graphics, it doesn't handle physics, so using the Euclidean distance algorithm, we can implement some basic bounding sphere collision ourselves.
More
  • March 25, 2010
  • 27
OpenGL Basic Shadow Tutorial PreviewWith lighting, comes shadowing. This tutorial takes a basic stencil buffer, and uses it as a stencil to draw a basic shadow on to it.
More
  • March 25, 2010
  • 11