Hi!
Does anybody have any nice example for using of Bezier curves in pascal.
I would like to use this for creating 2D based vector mesh for rendering curved roads.
I have checked the Wiki and I belive I could write the algorithm myself.
But the only thing I can't figure out is how I could automatically determine the number of needed curve points so that distance between these points never exceds some predefined value (finding optimal number of points needed for certain curve smothness).

I would be verry happy if someone could provide me with some examples for this as I'm pressed with time to finish my entry for 3rdd PGD challenge.

Thanks in advance!