Copy link to clipboard
Copied
Hi, everyone!.
I am building a plugin that draws some Polygons on Layer.( by injection mode).
But I am getting jagged issue now.
Default shapes smoothed it.


How can I smooth it? Do you have any algorithm for that?
Regards,
Igor.
How are you drawing the shapes?
Cairo library draws nice smooth shapes. Alternatively you can draw the shape at twice the resolution and then use transform world to halve the size which will make it smoother. That method is called super sampling. Alternatively there's algorithms like FXAA, I've not tested it but it looks promising.
Copy link to clipboard
Copied
How are you drawing the shapes?
Cairo library draws nice smooth shapes. Alternatively you can draw the shape at twice the resolution and then use transform world to halve the size which will make it smoother. That method is called super sampling. Alternatively there's algorithms like FXAA, I've not tested it but it looks promising.
Copy link to clipboard
Copied
Thanks.
I am going to use FXAA.
Regards,
Igor.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now