Imagination PowerVR SDK Blog

anti alaising nokia


#1

Hi,
I’m using your Symbian S60 3rd Ed 

SDK and I want enable anti-aliasing to run on my N95 game.

I can’t find how to do this?

 Is this the right place to ask?


#2
fuzz wrote:
Hi,
I'm using your Symbian S60 3rd Ed  SDK and I want enable anti-aliasing to run on my N95 game.

I can't find how to do this?

 Is this the right place to ask?
Hi fuzz, welcome to our forum!

 











You can enable anti-aliasing through EGL. First, you have to find an EGLconfig where the attribute EGL_SAMPLE_BUFFERS is 1 and EGL_SAMPLES equals the number of samples you want. PowerVR MBX supports 2 and 4 sample anti-aliasing. You should add these attributes to the attribute list passed to eglChooseConfig.


 

Then you create an EGL surface with that config. Rendering to this surface will be anti-aliased.
Xmas2008-03-10 14:39:11