Can Shapes make these type of shapes?
I'm wondering if Shapes can help me out here. I have a project where a user draws a shape/line around a map area. I need to then take that line and create a smooth convex hull shape. From that data I need to make some shapes, shape masks, and shape borders.
I've got the convex hull working and the smoothing kind of working, but I'm then having to use OpenCV for edge detection, creating fill textures and apply to materials to create the shapes and masks I need.
Is this something Shapes could do to aviod the OpenCV overhead?
soon, kinda, yes, but not with 100% smooth edges
you can do this with using the polygon Shape, and masking using the upcoming stencil buffer support. though, keep in mind that polygons are not infinite resolution, and you need to define those points manually, and that stenciling itself doesn't have anti-aliasing