Convert spline to mesh help required.

Blitz3D Forums/Blitz3D Programming/Convert spline to mesh help required.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.