Saturday, June 27, 2009

Good Indie Developers



There are thousands of us out there really loving the art of making games. Me, as a programmer, is mainly interested in the technical bits and pieces of a game and I find it very entertaining just reading about other game developments or viewing the plain sourcecode for other projects.
Here are some projects you must check out if you are in to game development candy:
  • Radioactive-Software (Homepage) - Fenomenal. Dr Green does it all. Coding, Gfx, Sfx. Just read about his projects.
  • Journal of Ysaneya - A very ambituous journal of a promising spaceshooter. Great information about the insides of the game engine.
  • Sauerbraten - Full source code for this one.

Friday, June 19, 2009

AntTweakBar

At SimWay, where I work, we are a small development team. We are always on a tight schedule. One tool which I find very efficient to use for small development teams is AntTweakBar.

AntTweakBar is a small, easy-to-use, C/C++ library which allows programmers to quickly add a gui to applications based on OGL, DX9 & DX10.
We use it for many things that requires fast editing such as light conditions.

The current version contains a bug in the ogl-rendering system which will, according to the creator, be fixed in the next version. If you want to fix it yourself in the meantime you can rebuild the library with the following changes:

AntTweakBar will not render properly if you have several Texture Coordinate Arrays enabled at the same time. Looking into the AntTweakBar source code it looks like this:

CTwGraphOpenGL::BeginDraw()
{

_glDisableClientState(GL_TEXTURE_COORD_ARRAY);
...
}

This only disables the currently active TexCoordArray. Replace the code with this to disable all TexCoordArrays:

#ifndef GL_MAX_TEXTURE_COORDS
# define GL_MAX_TEXTURE_COORDS 0x8871
#endif

CTwGraphOpenGL::BeginDraw()
{


int maxTexCoords;
_glGetIntegerv(GL_MAX_TEXTURE_COORDS, &maxTexCoords);

for(int i=0; i<maxTexCoords; i++)
{
_glClientActiveTexture(GL_TEXTURE0_ARB+i);
_glDisableClientState(GL_TEXTURE_COORD_ARRAY);
}

_glClientActiveTexture(GL_TEXTURE0_ARB);

...
}

To disable all texarrays.

Thursday, June 18, 2009

New blog from the games industry

Hi All,

Welcome to my journal. Here I will write (mostly) about games development. Feel free to leave comments about anything.