Hi,
I was wondering if there was a way currently to play with 2D filters in Gideros.
About noise I could achieve a similar effect by playing with textures and blend modes, but this is not scalable and doesn't allow me the level of control that I'd need.
I couldn't find a way to fake a blur effect though.
I have found
this page (Image processing with Gluas) that seems to give a nice overview of what I am trying to achieve, in lua.
@atilim Is that part of the roadmap (even in far future), or will Gideros leave it to plugins?
Am I right to believe that the implementation in lua will be straightforward when getpixel/setpixel will be available in Gideros?
Any information, direction would be welcome
Comments
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
Likes: phongtt, Mells, Scouser
Likes: atilim, phongtt, Mells
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
Sounds great, I can't wait to play with it.
Likes: Nascode
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
Now that Gideros is on OpenGL ES 2 can this be done?
This is not possible yet, because to do this you will need a specific (fragment) shader program. However we made a lot of refactoring in Gideros graphics lately, the just released version now use internally four shaders program for best performance, and we are thinking about letting users specify shader programs from lua at some point in (near) future.
On graphics side, my roadmap is:
1°) Remove OpenGL dependancies from internal gideros code, leaving the OpenGL stuff to a dedicated part of code (we could say a driver)
2°) Replace WP8 opengl emulation with a direct DirectX driver
3°) Add lua bindings for shader manipulation
Likes: MikeHart
I was just wandering... I am not an OpenGL expert...