0

I know how to draw bezier curves from four control points. However, even if the control points are from 2D grids, the generated points are not neccessarily in 2D grid. Please help.

How would I generate all the discrete bezier curve cordinates for a given set of control points.

4

1 回答 1

1

生成常规点的方式相同。迭代t,对结果坐标进行四舍五入,在坐标之间画线。对t进行过采样会浪费时间,对t进行过采样会非常难看。最好的办法是进行二次抽样,然后决定哪些坐标最适合用于舍入和连接。

于 2013-12-11T18:50:35.783 回答