Antialias Support in Irrlicht opengles2.0 ?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
vivekSivamRP
Posts: 66
Joined: Sat Sep 29, 2012 11:58 am

Antialias Support in Irrlicht opengles2.0 ?

Post by vivekSivamRP »

Does irrlicht opengles2.0 supports antialiasing ? While creating the device (creatdevice(Param)) i have tested with the param.AntiAlias values, did't find any change in the aliasing issue. Can anyone suggest the right way to achieve this in irrlicht opengles 2.0 ?
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by Nadro »

I never tested this feature on ES2 (on mobiles it's not a popular feature), but I'll try to find and fix this issue.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
vivekSivamRP
Posts: 66
Joined: Sat Sep 29, 2012 11:58 am

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by vivekSivamRP »

Thanks Nadro. Any clues on fixing this issue ?
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by Nadro »

On which platform did you test it? I think that it may be problem with EGL configuration, but I didn't check that yet.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
vivekSivamRP
Posts: 66
Joined: Sat Sep 29, 2012 11:58 am

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by vivekSivamRP »

Yes For IOS platform.
The_Glitch
Competition winner
Posts: 523
Joined: Tue Jan 15, 2013 6:36 pm

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by The_Glitch »

No!! Don't give Nadro more things to do, we wont get cubemaps until 2019.
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by Nadro »

I checked EGL config and it seems fine (on Android it should works fine). On iOS AA is missing, however you can check how to modify Irrlicht to enable multisampling:
https://developer.apple.com/library/ios ... -CH103-SW4
You should apply these changes to COGLES2Driver constructor. I'll apply it to a repo, when I'll find some free time.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
vivekSivamRP
Posts: 66
Joined: Sat Sep 29, 2012 11:58 am

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by vivekSivamRP »

Thanks nadro, I followed the steps which is given in the link exactly, but did't find any change in rendering quality. Even tried various sampling values but no use, i might've missed something. Will produce the code after fixing the issue.
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by Nadro »

You can try to add a following line:

Code: Select all

glEnable(GL_MULTISAMPLE);
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
vivekSivamRP
Posts: 66
Joined: Sat Sep 29, 2012 11:58 am

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by vivekSivamRP »

GL_MULTISAMPLE is not enabled for opengles2.0, so it is throwing error. Any other way ?
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by Nadro »

Which device do you use for a tests?
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
vivekSivamRP
Posts: 66
Joined: Sat Sep 29, 2012 11:58 am

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by vivekSivamRP »

iPad4 (Retina) and simulators for iPhone6+,iPhone6.
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by Nadro »

On iPad all should works, on simulator probably too. Currently I'm busy by other task, so I'll check that in the future. Anyway on Retina devices you don't need AA in most cases. High PPI solve this issue.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
vivekSivamRP
Posts: 66
Joined: Sat Sep 29, 2012 11:58 am

Re: Antialias Support in Irrlicht opengles2.0 ?

Post by vivekSivamRP »

Ok. I will try it once again and report the result.
Post Reply