The edges of my models are not smooth and blended when spinning on the screen in android. Changing the the return value for getIfxMsaaSamples did not do anything (anything above 4 crashes). Is there a way to turn on GLES anti-aliasing to fix this?
Hi Tom,
By setting the getIfxMsaaSamples value you should be turning on MSAA, you don't need to do anything further with Inflexion.
It's worth checking that applying for the MSAA to be turned on has worked. You can check this by examining logcat output when the app starts. Look for a line similar to this and see what the samples value is:
'EGL Config Attribute sizes: red + 5, green = 6, blue = 5, alpha = 0depth = 16, samples = 0'
Thanks,
Phil.
Confirmed, setting MSAA return value does work and cleans the edges of true 3D mesh models.
My issue turned out to be 2D images on 3D planes. The trick to having clean 2D images in 3D space with Inflexion UI is to use 32bit PNG images and alpha transparency. I used Paint.net (free) to apply a simple 2 or 3 pixel deep gaussian blur around the edges of the image (assuming 100% transparent background). Also, making sure there is at least a 1 pixel wide fully transparent boarder around the image. With this setup my pre rendered 2D images can move and rotate around the screen in 3D space without any "jaggy" edges.
