for i in np_list:
if new != old:
if new == 0:
glColor3f(*OpenGL_color_1)
else:
glColor3f(*OpenGL_color_2)
old = new
glVertex3f(i[4], i[5], i[6])