Drawing Hermite curves in OpenGL

后端 未结 3 829
半阙折子戏
半阙折子戏 2021-02-14 17:40

How can I draw Hermite curves using OpenGL, are there any built in functions? I saw some examples on-line that show how to use evaluators to draw Bezier curves but could not fin

3条回答
  •  礼貌的吻别
    2021-02-14 18:31

    You can convert any Hermite curve into a Bezier curve and then draw that. They are simply defined using two different bases in C3. Google wasn't very useful, and it seems like this would be a common question, so we should try to make the StackOverflow answer definitive, maybe with some sample code. I'll come back tomorrow with more.

提交回复
热议问题