Bleek II 0 Report post Posted May 13, 2008 (edited) The plugin distorts an image based on the light values of the mask. This is useful for mapping images to other surfaces. Alpha-Displacement Mask.zip Before After!!! Follow the this link for more on displacement (highly recommended) https://archive.org/details/pixelperfect/pixelperfect--0017--displacement--hd720p30.h264.mp4 ^^Don't miss the video^^ it's been here from the start. high rez downloads to the right of the stream https://forums.getpaint.net/topic/12895-create-a-waving-flag-using-displacement/^^Also read Drew's Paint.NET version!!^^ product below (Japanese) http://paintnet.web.fc2.com/plugin/okikae/admask.htm drew said: That is a great video. I actually found it before you posted that because I was searching frantically to understand how to use it. I've been playing around with this plug-in some, and I made a waving flag like that guy's. Original from http://www.thegio.net/kazakhstan/american-flag.jpg: After plug-in/tutorial: This plugin is based off the the AlphaMaskImport plugin. Credits pleska: File Handling Illnab1024: Alpha Mask MadJik: Coding help (lots of it) Bleek II: Displacement V1.0 release V1.1 UI: - smaller form - reset buttons - number boxes V1.1.1 -UI issue fixed V1.1.1.1 -fixed 1 off bug V1.2.0.0 -Added neutral value control v1.2.1.0 -fixed backwards neutral value -UI update -faster & cleaner displacement code v1.3.0.0 -edge controls v1.3.0.1 -UI font colors weren't the same on every system v1.4.1.1 -fixed dumb issues in 1.4.0.* -You can now clip with the alpha values of masks Also see: My gallery: https://forums.getpaint.net/topic/9003-bleek-iis-galleryupdated-61108/ ScreenPixel(a not very useful plug in): https://forums.getpaint.net/topic/9059-screenpixel/ ========================================================================== Edit by Ash: Seems people usually don't read all the way to page3. My easy to understand tips about this useful plugin. Ash said: Bottom layer=Image A Top layer=Letters Run the plugin on top layer, use Image A as "mask" Adjust setting in plugin. See letters change. Edited July 6, 2018 by toe_head2001 Reattached Zip Quote Share this post Link to post Share on other sites
Mike Ryan 13 Report post Posted May 13, 2008 Do you have any screenshots? Quote Share this post Link to post Share on other sites
Bleek II 0 Report post Posted May 13, 2008 Do you have any screenshots? I do!! Also, I recommend everyone of you to watch the video I linked to. Quote Share this post Link to post Share on other sites
MiguelPereira 2 Report post Posted May 13, 2008 this is simply amazing great job bleek Quote Share this post Link to post Share on other sites
david.atwell 284 Report post Posted May 13, 2008 This is BRILLIANT. Photoshop's displacement tool isn't even half this easy. Quote Share this post Link to post Share on other sites
barkbark00 3 Report post Posted May 13, 2008 Great job! GUI needs some work. Reset buttons would be awesome. Also, I'm a fan of pixel based distortion as opposed to the current % based distortion. Otherwise, nice job. As far as function goes, this is my new favorite plugin. Quote Share this post Link to post Share on other sites
Bleek II 0 Report post Posted May 14, 2008 GUI needs some work. Reset buttons would be awesome. Also, I'm a fan of pixel based distortion as opposed to the current % based distortion. Good points. This was the first time I used the windows form builder in VS 2008. I'm use to text based c++ programing. About the % based distortion, it really works best that way. I'll explain. The plugin reads each of the map's pixel luminosity values ranging from 0 to 255. The closer that value is to 0 the more it moves it in one direction and closer to 255 it is the more it moves it to the other direction, 127 is neutral. At 100% it moves each pixel the range value that's on the map but that's a bit of over kill in most cases so % works well to tune the process. However, in most cases I agree, I like to know how many pixels things are moving by. You can think of it as a range in this case 100% = -128 to 128, 50% = 64 to 64, and so on... The source code is there if you would like a better UI, I am lazy. I will post any updates to the plugin that others make and add you to the credits. Quote Share this post Link to post Share on other sites
Blooper 0 Report post Posted May 14, 2008 I love it. Bless you, child! Bless you! Quote Share this post Link to post Share on other sites
Ash 10 Report post Posted May 14, 2008 Nice, thank you! This should take up much less screen. Quote Share this post Link to post Share on other sites
Bleek II 0 Report post Posted May 14, 2008 Nice, thank you!This should take up much less screen. If that's a complied plugin, please post! However I believe that's an image edit, right? The reason those bar are so large is because I didn't want to spend the time figuring out how to get those nice input boxes next to the bars in windows form builder. So to give the user more control... I made them huge!... yeah I'm lazy, also I have my laptop screen here set at 1600x1050 so it's not to bad for me. Quote Share this post Link to post Share on other sites
Ash 10 Report post Posted May 14, 2008 You are correct Image editing is more my thing. I believe either you or someone else would be much better at doing this UI Quote Share this post Link to post Share on other sites
Mike Ryan 13 Report post Posted May 14, 2008 Nice, thank you!This should take up much less screen. If that's a complied plugin, please post! However I believe that's an image edit, right? The reason those bar are so large is because I didn't want to spend the time figuring out how to get those nice input boxes next to the bars in windows form builder. So to give the user more control... I made them huge!... yeah I'm lazy, also I have my laptop screen here set at 1600x1050 so it's not to bad for me. You should use IndirectUI... Quote Share this post Link to post Share on other sites
BoltBait 2,173 Report post Posted May 14, 2008 You should use IndirectUI... IndirectUI does not support a "Browse" button. Quote Share this post Link to post Share on other sites
Mike Ryan 13 Report post Posted May 14, 2008 I am regarding the sliders issue he was refering to. Can you not use IndirectUI and regular UI at the same time in a plugin? Quote Share this post Link to post Share on other sites
BoltBait 2,173 Report post Posted May 14, 2008 No, you can not. Quote Share this post Link to post Share on other sites
Mike Ryan 13 Report post Posted May 14, 2008 :shock: That is a disadvantage. Guess one learns something new everyday. Quote Share this post Link to post Share on other sites
Bleek II 0 Report post Posted May 14, 2008 believe me, I did try... and failed Quote Share this post Link to post Share on other sites
Bleek II 0 Report post Posted May 14, 2008 I've updated the plugin as asked by many users. I thank you all for the support! Quote Share this post Link to post Share on other sites
Ash 10 Report post Posted May 14, 2008 Even better, thank you for your time Quote Share this post Link to post Share on other sites
barkbark00 3 Report post Posted May 14, 2008 Much cleaner! Bug: Hitting 'Reset' for X or Y isn't cycling the preview render... Quote Share this post Link to post Share on other sites
Bleek II 0 Report post Posted May 14, 2008 oops I'll fix it soon, sorry people. Quote Share this post Link to post Share on other sites
Bleek II 0 Report post Posted May 14, 2008 Okay, I've uploaded a fixed Dll. I missed four little lines. It was dumb of me not to test the Dll on an image before release. But I'd like to see Microsoft have a 10min response time, haha I think not (*feels a little bit better about looking stupid*) Quote Share this post Link to post Share on other sites
MiguelPereira 2 Report post Posted May 14, 2008 you could add an anti-aliasing check box or so, very simple so that some jagged edges were corrected on the rendering Quote Share this post Link to post Share on other sites
BoltBait 2,173 Report post Posted May 14, 2008 you could add an anti-aliasing check box or so, very simple so that some jagged edges were corrected on the rendering Please don't ever use "anti-aliasing" and "very simple" in the same sentence. Thank you. Quote Share this post Link to post Share on other sites
MiguelPereira 2 Report post Posted May 14, 2008 you could add an anti-aliasing check box or so, very simple so that some jagged edges were corrected on the rendering Please don't ever use "anti-aliasing" and "very simple" in the same sentence. Thank you. Sorry. I know i should not but what i meant (sarcasms aside) is that we don't need another feather plugin, just something to soften the edges. and btw BoltBait when are you releasing an update to feather to correct that problem with the line that remained after running the plugin? Quote Share this post Link to post Share on other sites