Original Post
Yesterday I posted about generating Icecube. I got very good reply for it. Supershapes are fantastic. But now I need something different thing. So I have to create a plane with nuber of horizontal and vertical segments. These dynamic properties are user controllable. The plane is ready using simple vertex buffer and index buffer. I need to create rounded corners.Also width and height of the plane are user controllable properties. What should I do? Which algorithm or technique to make corners of the plane rounded? Rohit.