a simple opengl study case.