I have a large cubic bezier defined 2D polygon area which I need to render in DX11 real-time to create as many 4096x4096 textures as needed. An average control point count would be around the 12k and I need to render it with a 16x resolution, meaning that for every unit of length, I would need 16 line segments. This makes it impossible to triangulate the generated mesh as the shear number of polygon points would take seconds to triangulate.
I thought of tessellating the bezier polygon and then clipping it to fustrum but again, since we are talking about a lot of triangles that would be too slow for real time rendering (I need to be able to modify the bezier polygon real time).
To add insult to injury, polygon holes and Steiner points are a requirement as the color of the surface would come from the different points "depth".
Ideally, I would clip the bezier polygon (to fustrum or smaller sub-polygons) before tessellating but I don't know of a library that can do that.
The only "idea" I currently have is to cut any bezier segment to sub-segments shorter than 4 units, using the 64 levels of shader tessellation and then move the new vertices according to the control points but needless to say, this seems overly complicated and inefficient.