PineappleQc 0 Report post Posted June 6, 2007 For me it's in Distort AHA! Found it in "Déformer"! Thx a lot Quote Share this post Link to post Share on other sites
Ash 10 Report post Posted June 7, 2007 For me it's in Distort AHA! Found it in "Déformer"! Thx a lot No prob 8) Quote Share this post Link to post Share on other sites
Ash 10 Report post Posted June 7, 2007 For me it's in Distort AHA! Found it in "Déformer"! Thx a lot No prob 8) Quote Share this post Link to post Share on other sites
barkbark00 3 Report post Posted June 7, 2007 ...PixD.R = (byte)((float)(Pix1.R + Pix2.R + 0.5f)/2.0f);... What does adding 0.5f do? It seems that this kinda makes the results a little brighter, is that right? Thats why I initially thought of Lighten. Quote Share this post Link to post Share on other sites
barkbark00 3 Report post Posted June 7, 2007 ...PixD.R = (byte)((float)(Pix1.R + Pix2.R + 0.5f)/2.0f);... What does adding 0.5f do? It seems that this kinda makes the results a little brighter, is that right? Thats why I initially thought of Lighten. Quote Share this post Link to post Share on other sites
MadJik 963 Report post Posted June 7, 2007 ...PixD.R = (byte)((float)(Pix1.R + Pix2.R + 0.5f)/2.0f);... What does adding 0.5f do? It seems that this kinda makes the results a little brighter, is that right? Thats why I initially thought of Lighten. ...initialy for rounding! (3 + 2) / 2 = 2.5 ; integer is 2 (3 + 2 + 0.5) / 2 = 2.75 ; integer is 2 Conclusion: It's useless! (wrong formula!) It's should be: (3 + 2) / 2 + 0.5 = 2.5 + 0.5 = 3.0 ; integer =3; (2 + 2) / 2 + 0.5 = 2.0 + 0.5 = 2.5 ; integer =2; Quote Share this post Link to post Share on other sites
MadJik 963 Report post Posted June 7, 2007 ...PixD.R = (byte)((float)(Pix1.R + Pix2.R + 0.5f)/2.0f);... What does adding 0.5f do? It seems that this kinda makes the results a little brighter, is that right? Thats why I initially thought of Lighten. ...initialy for rounding! (3 + 2) / 2 = 2.5 ; integer is 2 (3 + 2 + 0.5) / 2 = 2.75 ; integer is 2 Conclusion: It's useless! (wrong formula!) It's should be: (3 + 2) / 2 + 0.5 = 2.5 + 0.5 = 3.0 ; integer =3; (2 + 2) / 2 + 0.5 = 2.0 + 0.5 = 2.5 ; integer =2; Quote Share this post Link to post Share on other sites
barkbark00 3 Report post Posted June 9, 2007 MadJik, I just realized that your code, w/ your average setting, is the same as: 1. duplicating your image. 2. runny BB's helper on top layer. 3. setting top layer opacity to 50%. Would it be easier to code this by duplicating the source, running the helper effect and the altering the opacity? Quote Share this post Link to post Share on other sites
MadJik 963 Report post Posted June 9, 2007 MadJik, I just realized that your code, w/ your average setting, is the same as:1. duplicating your image. 2. runny BB's helper on top layer. 3. setting top layer opacity to 50%. Would it be easier to code this by duplicating the source, running the helper effect and the altering the opacity? I think it's already the way it works pixel per pixel! Quote Share this post Link to post Share on other sites
barkbark00 3 Report post Posted June 9, 2007 I get it. I'll stop asking dumb questions now. Quote Share this post Link to post Share on other sites
Alex555 0 Report post Posted August 5, 2007 I don't know how The Lighten blending mode works! Pixel Destination = (Pixel1 + Pixel2) /2 Hi, MadJik! Sorry, if it's too late I find some info (with graphics, examples & formulas) about "blending modes" here: http://www.pegtop.net/delphi/articles/blendmodes/ & Thanks! Your plugin very useful! (as all others). Quote Share this post Link to post Share on other sites
lestat2000_vamp 0 Report post Posted September 8, 2007 thank boss Quote Share this post Link to post Share on other sites
MadJik 963 Report post Posted December 9, 2007 updated for paint.net v3.20 see the first post... Quote Share this post Link to post Share on other sites
MadJik 963 Report post Posted April 10, 2008 New version... Check out the first post! Quote Share this post Link to post Share on other sites
Juan Ignacio 0 Report post Posted July 7, 2008 Or you can do this: Quote Share this post Link to post Share on other sites
TruePaintNetta 0 Report post Posted January 8, 2009 Halp!!!1111one It's not in my distort menu. and I can't find it anywhere in any menus Quote Share this post Link to post Share on other sites