Basic rendering using openGL