Bleek II Posted May 13, 2008 Share 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 Link to comment Share on other sites More sharing options...
MiguelPereira Posted May 13, 2008 Share Posted May 13, 2008 this is simply amazing great job bleek Quote [The stock on my sig is a photo I took not a render from Splatter] [My deviantART][My Gallery][My Space] Link to comment Share on other sites More sharing options...
david.atwell Posted May 13, 2008 Share Posted May 13, 2008 This is BRILLIANT. Photoshop's displacement tool isn't even half this easy. Quote The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.Amy: But how did it end up in there?The Doctor: You know fairy tales. A good wizard tricked it.River Song: I hate good wizards in fairy tales; they always turn out to be him. Link to comment Share on other sites More sharing options...
barkbark00 Posted May 13, 2008 Share 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 Take responsibility for your own intelligence. -Rick Brewster Link to comment Share on other sites More sharing options...
Bleek II Posted May 14, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
Blooper Posted May 14, 2008 Share Posted May 14, 2008 I love it. Bless you, child! Bless you! Quote http://synthastic.deviantart.com http://soundcloud.com/siderealenterprise Lockerz invites are available, PM me Link to comment Share on other sites More sharing options...
Ash Posted May 14, 2008 Share Posted May 14, 2008 Nice, thank you! This should take up much less screen. Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ] Link to comment Share on other sites More sharing options...
Bleek II Posted May 14, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
Mike Ryan Posted May 14, 2008 Share 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 Link to comment Share on other sites More sharing options...
BoltBait Posted May 14, 2008 Share Posted May 14, 2008 You should use IndirectUI... IndirectUI does not support a "Browse" button. Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
Mike Ryan Posted May 14, 2008 Share 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 Link to comment Share on other sites More sharing options...
BoltBait Posted May 14, 2008 Share Posted May 14, 2008 No, you can not. Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
Bleek II Posted May 14, 2008 Author Share Posted May 14, 2008 I've updated the plugin as asked by many users. I thank you all for the support! Quote Link to comment Share on other sites More sharing options...
Ash Posted May 14, 2008 Share Posted May 14, 2008 Even better, thank you for your time Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ] Link to comment Share on other sites More sharing options...
barkbark00 Posted May 14, 2008 Share Posted May 14, 2008 Much cleaner! Bug: Hitting 'Reset' for X or Y isn't cycling the preview render... Quote Take responsibility for your own intelligence. -Rick Brewster Link to comment Share on other sites More sharing options...
Bleek II Posted May 14, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
MiguelPereira Posted May 14, 2008 Share 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 [The stock on my sig is a photo I took not a render from Splatter] [My deviantART][My Gallery][My Space] Link to comment Share on other sites More sharing options...
BoltBait Posted May 14, 2008 Share 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 Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
MiguelPereira Posted May 14, 2008 Share 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 [The stock on my sig is a photo I took not a render from Splatter] [My deviantART][My Gallery][My Space] Link to comment Share on other sites More sharing options...
drew Posted May 16, 2008 Share Posted May 16, 2008 I'm not sure how to use the displacement plugin. How do you use this? Quote Link to comment Share on other sites More sharing options...
barkbark00 Posted May 16, 2008 Share Posted May 16, 2008 Go here: http://revision3.com/pixelperfect/displacement/ Quote Take responsibility for your own intelligence. -Rick Brewster Link to comment Share on other sites More sharing options...
007 Nab Posted May 16, 2008 Share Posted May 16, 2008 What a genius plugin! I love it -- very well done -- this will prove to be extremely useful!! Thanks for that vid, by the way , bb00, very useful for understanding this stuff. Nab Quote "pyrochild, you're my favorite person ever. We should go snowboarding some time."~ 007 Nab. Ish. PDN Gallery | I Made a Deviant Art! Link to comment Share on other sites More sharing options...
drew Posted May 17, 2008 Share Posted May 17, 2008 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: Quote Link to comment Share on other sites More sharing options...
Bleek II Posted May 17, 2008 Author Share Posted May 17, 2008 That's awesome, drew! I'm happy to see it working as well as its photoshop counterpart. I've just added a bit more control which may come in handy for some. I've haven't started work on adding anti-aliasing. BoltBait, could you point out a similar piece of code that has anti-aliasing in it so I can more easily translate it to this plugin, that would be most helpful. Thanks all! Quote Link to comment Share on other sites More sharing options...
oma Posted May 19, 2008 Share Posted May 19, 2008 I've watched that movie twice now. my bad eyes are just not adjusting to see it clearly. is the jist of the thing run a layer of picture over another layer of picture? or is it a layer of shadow over a layer of picture. I'm stuck. a wee small tut if anyone has the time. just something simple very basics so I can get started using this. ciao OMA Quote My Deviant Art Gallery Oma's Paint.Net gallery Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.