Antialias Support in Irrlicht opengles2.0 ?
-
- Posts: 66
- Joined: Sat Sep 29, 2012 11:58 am
Antialias Support in Irrlicht opengles2.0 ?
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 ?
Re: Antialias Support in Irrlicht opengles2.0 ?
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
-
- Posts: 66
- Joined: Sat Sep 29, 2012 11:58 am
Re: Antialias Support in Irrlicht opengles2.0 ?
Thanks Nadro. Any clues on fixing this issue ?
Re: Antialias Support in Irrlicht opengles2.0 ?
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
-
- Posts: 66
- Joined: Sat Sep 29, 2012 11:58 am
Re: Antialias Support in Irrlicht opengles2.0 ?
Yes For IOS platform.
-
- Competition winner
- Posts: 523
- Joined: Tue Jan 15, 2013 6:36 pm
Re: Antialias Support in Irrlicht opengles2.0 ?
No!! Don't give Nadro more things to do, we wont get cubemaps until 2019.
Re: Antialias Support in Irrlicht opengles2.0 ?
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.
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
-
- Posts: 66
- Joined: Sat Sep 29, 2012 11:58 am
Re: Antialias Support in Irrlicht opengles2.0 ?
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.
Re: Antialias Support in Irrlicht opengles2.0 ?
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
-
- Posts: 66
- Joined: Sat Sep 29, 2012 11:58 am
Re: Antialias Support in Irrlicht opengles2.0 ?
GL_MULTISAMPLE is not enabled for opengles2.0, so it is throwing error. Any other way ?
Re: Antialias Support in Irrlicht opengles2.0 ?
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
-
- Posts: 66
- Joined: Sat Sep 29, 2012 11:58 am
Re: Antialias Support in Irrlicht opengles2.0 ?
iPad4 (Retina) and simulators for iPhone6+,iPhone6.
Re: Antialias Support in Irrlicht opengles2.0 ?
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
-
- Posts: 66
- Joined: Sat Sep 29, 2012 11:58 am
Re: Antialias Support in Irrlicht opengles2.0 ?
Ok. I will try it once again and report the result.