I'm trying to program a track editor and have got a nice editor going that can define anchor points which define the shape of a bezier spline thingy which forms a continuous loop for a race track.
So. I have generated a array or x,y and z coords derived from my spline shape.
What is the best way to turn them into a mesh. I've tried a few things but have got myself into a right pickle and can't quit figure it out.
Please help. Code snippets would be very helpful. Thanks.
So. I have generated a array or x,y and z coords derived from my spline shape.
What is the best way to turn them into a mesh. I've tried a few things but have got myself into a right pickle and can't quit figure it out.
Please help. Code snippets would be very helpful. Thanks.