3d cube based on opengl (irrlicht)