Pixelate:Issue 10/3D Programming with AllegroGL
From Allegro Wiki
| 3D Programming with AllegroGL | |
| Original author: | MasterGoodbytes |
|---|---|
| Website: | |
| zip: | TODO |
Tutorial 3
It's that time again. Another issue of Pixelate, another AllegroGL tutorial. Except that this one is about four months late. Go figure :)
Anyhow, this time around we're going to mostly focus on expanding on things taught in previous tutorials, like fonts, textures, fogging, blending, translation and rotation, and drawing primitives. Then, the last two lessons in this tutorial will teach you a few new tricks.
The topics covered in this tutorial are:
- Pixelate:Issue 10/3D Programming with AllegroGL/Font and Texture Options
- Pixelate:Issue 10/3D Programming with AllegroGL/Advanced Blending
- Pixelate:Issue 10/3D Programming with AllegroGL/Camera Movement
- Pixelate:Issue 10/3D Programming with AllegroGL/Advanced Primitives
- Pixelate:Issue 10/3D Programming with AllegroGL/Display Lists
- Pixelate:Issue 10/3D Programming with AllegroGL/Lighting
These lessons were written using AllegroGL version 0.1.0, which is now available, or perhaps even deprecated by now. Who knows when you'll be reading this? :)
AllegroGL 0.1.0 is not directly compatible with previous versions, because one extra parameter has been added to allegro_gl_convert_allegro_font(). It now takes a floating point parameter indicating how many pixels should equal one OpenGL unit - more on that in the section on Font Options.
Furthermore, it has come to my attention that some systems require a call to set_color_depth() before setting the OpenGL gfx mode. If you are having problems with past examples, add a call to set_color_depth(bpp) just before the call to set_gfx_mode() and see if that helps.
Well... that's about it.
~MasterGoodbytes
