HiDPI and Retina support in Custom UI
Hi there!
I'm drawing an image with the custom UI in a composition window. I'm on Macbook Pro retina display and all image pixels appear to be 2x2 device pixels.
Documentation sais:
To support HiDPI and Retina Displays, you can use offscreen images that are twice the size, and then use the Transform function to scale the image down in half before drawing it.
I tried it but with no luck, the image appeared to be on a correct place and size, but quality became even worse. Also experimented with different antialiasing polices, but it seems they affect drawbot only.
My current approach is:
//Prepare Image twice bigger
Transform( /*with a scale down matrix*/)
DrawImage( /*with the image twice the size*/ )
It doesn't solve the issue and Transform operation seems to work in ordinary (not hiDPI) space.
Am I missing something? Is it supported in AE somehow?
Below an example of how currently it looks like:
All green pixels a 2x2
Cheers!
