Begin to rewrite id_vl.c with using OpenGL