Skip navigation
27,412 Views 2 Replies Last post: Mar 19, 2012 9:45 PM by tom3 RSS
tom3 Contributor 10 posts since
Jan 20, 2012
Currently Being Moderated

Feb 27, 2012 12:11 PM

Anti-aliasing 3d models in android?

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?

phil_brumby Aficionado 101 posts since
Apr 20, 2010
Currently Being Moderated
Mar 13, 2012 2:44 AM in response to: tom3
Re: Anti-aliasing 3d models in android?

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.

More Like This

  • Retrieving data ...

Bookmarked By (0)