Re: Image Manipulation
Status: Alpha
Brought to you by:
cwalther
|
From: Christian W. <cwa...@gm...> - 2013-09-22 19:02:25
|
Hi Andrea Apologies for the late response, I've been very busy. I mainly have one thing to say about your suggestions: I can add all of them to my to-do list, but that list is pretty long and gets longer by the day, so don't hold your breath. I'm sorry, but I have little time and other priorities these days. That said... > 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. That's probably a good idea, seeing as I'm unlikely to complete the stuff I was planning to put into the next release anytime soon. (I don't even remember what it all was - there was the extension module system, anything more?) > In particular, to slightly modify the "drawimage" adding the ability to use > some combination operation in addition to the current mode. Looks doable, you'd probably have to implement most of the pixel pushing yourself, as SDL's blend modes are a bit limited. > 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!) Same here, SDL doesn't offer that as far as I can see. > 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. That shouldn't be hard, as we only have a limited number of pixel formats. > 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 ... No idea, I never looked into that. -Christian |