You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't submitted a pull request since I want to fix the filling of non convex polygons.
If I add each bezier as a subpath the rendering of each of these filled is not the same as filling the whole path.
If I add all to a single subpath the use of the triangle fan doesn't work properly for non convex polygons.
I have even tried to calculate the lower left of the path and use it as the first point but it still doesn't seem to work properly.
Should we add tesselation to fix this ?
The text was updated successfully, but these errors were encountered:
which we can use to push most of the work onto the GPU -- however it wouldn't hurt to have a starter implementation in the meantime if yours is at least working well for convex.
Hi,
I've added bezier support in my fork (https://github.com/nelsonsilva/webgl-2d).
I haven't submitted a pull request since I want to fix the filling of non convex polygons.
If I add each bezier as a subpath the rendering of each of these filled is not the same as filling the whole path.
If I add all to a single subpath the use of the triangle fan doesn't work properly for non convex polygons.
I have even tried to calculate the lower left of the path and use it as the first point but it still doesn't seem to work properly.
Should we add tesselation to fix this ?
The text was updated successfully, but these errors were encountered: