swapped out polyline for vbo and added texture coords from 0-1 along the spline