public static void main(String[] args)
	{
		try {
			Display.setDisplayMode(new DisplayMode(1000,1000));
			Display.create();
			load();
			setColorMap();
			if (use3D)
				setup3D();
			else
				setup2D();
			while(!Display.isCloseRequested())
			{
				if (use3D)
					render3D();
				else
					render2D();
			}
			Display.destroy();
		} catch (LWJGLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}