Currently browsing category

OpenGL

36. OpenGL Framebuffers

OpenGL Framebuffer Tutorial Preview
If you want to use any type of off screen rendering process, then frame buffers are probably the go for you. They allow you to render an entire scene, directly to a texture.

3. OpenGL Tips

Here is a collection of tips for using OpenGL that I have started compiling, expect it to grow :)

1. OpenGL Drivers

The OpenGL drivers can be tricky for some people to find, and whilst I recommend using GLEW and FreeGLUT, feel free to download these files, although they may be out of date.

6. Terrain Vertex Buffer Objects

Terrain Vertex Buffer Object Tutorial PreviewVertex Buffer Objects are used to store vertices, their indices and other information on the graphics card, for OpenGL to access directly. They are extremely fast and effecient, and are meant to supersede Display Lists. So lets use them for our terrain!

35. OpenGL Tiling Engine

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.

34. Orthogonal Projections

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.

33. OpenGL Animating Textures

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.

32. OpenGL Particle Engine

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.

31. OpenGL Sphere Creation

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!

30. OpenGL Circle Drawing

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.