Image Manipulation
Status: Alpha
Brought to you by:
cwalther
From: Andrea V. <and...@gm...> - 2013-08-28 09:17:51
|
Hello Christian! How much time has passed! Sometime I continue to play with Pipmak, I always have very little time to spend on it, unfortunately! However I am getting the idea that pipmak remains a great platform and I'm sorry that remains little known and used. I think you should release a new version (0.2.8) which includes all the latest innovations added to the 0.2.7 in recent years. If you had a little time to do this, I'd like that you add some additional functions of image manipulation. In particular, to slightly modify the "drawimage" adding the ability to use some combination operation in addition to the current mode. You'll tell me, why? Because I have not abandoned my old project "autocubic", and I also got to a good point, but I have several problems with the projection of shadows, which are of great help to make it more realistic ... At the moment, I overlap several patches , but by doing so, the effect isn't the best. I think it would just add the "mode" parameter: mode = replace (current mode and used by default if mode is omitted) mode = or, xor mode =, mode = add, etc. implement new composition mode Another useful thing: "rotateimage" (and I think also simple to implement) to rotate an image (even with 90 degree angles would already be useful, but with any angle would be the best!) yes, I know that I can rotate the patch, but this feature would be useful combined with the drawimage function, when I want to "copy" turned areas from a imagine to another (which it is not rotated ..) Even a "getpixel(x, y)" would not hurt, could return (r, g, b, alpha) of a given pixel, this could permit to write in lua other manipulation functions not directly implemented (or "missed" yet) in pipmak. The last thing, though perhaps is the most complex, the implementation of depth buffer in the positioning of 3d patches .... I had tried, but with poor results (sigh!), so they I forced to do complex calculations to determine the order in which I have to draw the patches ... A warm greeting. Andrea |