some basic graphics stuff with opengl