Convert a mesh index for drawing wireframes