I am learning how to make a 2D object with OpenGL. I made a simple rectangle with GL_QUADS with four vertex 3f example vertex1, vertex2, vertex3, vertex4. The question is, is there anyway so I can make a curve sides from that vertex(example : from v1 to v2 is the left side of the rectangle, I just want to know how to make a curve side from v1 to v2).
Share
Use a Bezier curve or something similar to generate additional vertices.