Dear
@atilim, I again need some things which seem to be impossible to completely emulate without opengl2, but i wonder if at least when it comes i will be able to or not. so my questions/feature requests are:
- smooth/antialiased borders of mesh triangles
(- in colorArray be able to use colors with transparency) edit: i realized that this is already possible, even that i use it already in my code, but somehow i got confused.
-mesh:get... functions
edit:overall it turns out meshes can already do everything that is crucial for me, still if antialiased meshes would be possible, that would simplify and make faster a lot of things for me.
thanks
Comments
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Before supporting antialiasing, it's possible to provide a Lua plugin for http://www.angusj.com/delphi/clipper.php and a triangulator. So that after constructing your arbitrary polygon, you can offset it 1 pixel with clipper library and draw an opaque to transparent border to get antialiasing effect. We can make a plan with @ar2rsawseen to provide this plugin soon. What do you think?
about antialiasing directly, should i understand your comment in the way that it may not be initially available with opengl 2 but later it is possible that you add this feature?
for my use (animated drawing app) actually i just use quadrangles and i need them to be antialiased on two opposide sides (these are segments of the stroke), and i use the same technique you propose, just that even no polygon operations are needed, the simple extending of the quadrangle can be done with a few math related lines of code.
so in a nutshell:
-clipping lua plugin would be great.
-get functions will be great.
-mesh antialias at some point would be good too.
thanks
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Exactly.
Then we'll implement clipping lua plugin. And I've already added get* function.
Likes: keszegh
https://sites.google.com/site/xraystudiogame