Reputation: 672
I need to have triangulation as a part of my project. OpenGL uses its own tessellation logic for rendering points.
Can the triangulation logic can be used as an API, giving points as input and get the triangulation index as output?
Upvotes: 0
Views: 581
Reputation: 162309
OpenGL is a drawing API, not some all purpose geometry library. You must use some third party tesselation-triangulation library. FYI: GLU (gluTesselate) is not part of OpenGL.
OpenGL uses its own tessellation logic for rendering points
What exactly do you mean/think by that? OpenGL takes vertex data and a primitive mode and rasters it. You may attach a tesselation shader, to refine geometry on the go, but that's not what you're probably after.
Upvotes: 3