Procedural world generation for an OpenGL based game engine