Closed jaredly closed 7 years ago
We had been going with the approach of drawing everything with triangles in order to be able to more easily batch multiple calls, but at some point it's possible we might have to come up with some new strategy.
This issue is mostly captured by #18 I think.
I'd been meaning to first try some sort of multisampling approach to AA and see if we can reduce the number of triangles/ellipse while still maintaining the same smoothness. The math that decides how many triangles to draw per ellipse is currently not very optimized.
A couple more things to note:
yeah we'll have to see what it looks like w/ AA enabled
I just divided the number of triangles by 8, does it make any difference on your end?
it seems to be working fine - I haven't done rigorous benchmarking, but for a few hundred ellipses I'm getting reasonable framerate
Alright, cool. Let's keep an eye on this. There might be one or two things we can do to tweak common cases to be faster.
I think we only need 2 triangles & the proper shader, instead of making an ellipse out of a ton of triangles. using 2 triangles & a shader will also give us antialiasing I think?