Antialiased circles
What would be the best way to draw antialiased circles of various sizes? The circles will look something like this:
![[Image: circle.png]](http://ivideoapp.com/development/circle.png)
The edge thickness can be defined beforehand since it won't change, but the radius of the circle will change fairly often.
Thanks in advance.
![[Image: circle.png]](http://ivideoapp.com/development/circle.png)
The edge thickness can be defined beforehand since it won't change, but the radius of the circle will change fairly often.
Thanks in advance.
With a texture, scaled as needed.
If you need perfectly constant thickness width, I'd go with 2 textures, one black circle behind, and one slightly smaller circle on top.
If you need perfectly constant thickness width, I'd go with 2 textures, one black circle behind, and one slightly smaller circle on top.
©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Ohh... two layered textures. Very clever. I was thinking of doing a triangle fan at first, but I could already tell the performance of that wasn't going to be up to snuff. Your idea will definitely work fine. Thanks!

